Begining of a RON API to edit profile
This commit is contained in:
parent
37f6de7a89
commit
405aa68526
11 changed files with 229 additions and 68 deletions
|
|
@ -1,5 +1,7 @@
|
|||
use serde::{Deserialize, Serialize};
|
||||
|
||||
///// RECIPE /////
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone)]
|
||||
pub struct SetRecipeTitle {
|
||||
pub recipe_id: i64,
|
||||
|
|
@ -91,3 +93,10 @@ pub struct AddRecipeStepReply {
|
|||
pub struct RemoveRecipeStep {
|
||||
pub step_id: i64,
|
||||
}
|
||||
|
||||
///// PROFILE /////
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone)]
|
||||
pub struct SetProfileName {
|
||||
pub name: String,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue