Begining of a RON API to edit profile

This commit is contained in:
Greg Burri 2024-11-14 01:59:40 +01:00
parent 37f6de7a89
commit 405aa68526
11 changed files with 229 additions and 68 deletions

View file

@ -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,
}