Profile edit (WIP)

This commit is contained in:
Greg Burri 2024-11-15 14:47:10 +01:00
parent 405aa68526
commit 327b2d0a5b
15 changed files with 174 additions and 46 deletions

View file

@ -97,6 +97,8 @@ pub struct RemoveRecipeStep {
///// PROFILE /////
#[derive(Serialize, Deserialize, Clone)]
pub struct SetProfileName {
pub name: String,
pub struct UpdateProfile {
pub name: Option<String>,
pub email: Option<String>,
pub password: Option<String>,
}