projects
/
recipes.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Beginning of frontend + recipe editing
[recipes.git]
/
common
/
src
/
ron_api.rs
1
use
ron
::
de
::
from_reader
;
2
use
serde
::
Deserialize
;
3
4
#[derive(Deserialize, Clone)]
5
pub
struct
SetRecipeTitle
{
6
pub
recipe_id
:
i64
,
7
pub
title
:
String
,
8
}
9
10
#[derive(Deserialize, Clone)]
11
pub
struct
SetRecipeDescription
{
12
pub
recipe_id
:
i64
,
13
pub
description
:
String
,
14
}