projects
/
recipes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add frontend tests and other stuff
[recipes.git]
/
backend
/
src
/
model.rs
diff --git
a/backend/src/model.rs
b/backend/src/model.rs
index
719ed21
..
d0f95d2
100644
(file)
--- a/
backend/src/model.rs
+++ b/
backend/src/model.rs
@@
-1,5
+1,5
@@
pub struct Recipe {
\r
pub struct Recipe {
\r
- pub id: i
32
,
\r
+ pub id: i
64
,
\r
pub title: String,
\r
pub description: Option<String>,
\r
pub estimate_time: Option<i32>, // [min].
\r
pub title: String,
\r
pub description: Option<String>,
\r
pub estimate_time: Option<i32>, // [min].
\r
@@
-10,7
+10,7
@@
pub struct Recipe {
}
\r
\r
impl Recipe {
\r
}
\r
\r
impl Recipe {
\r
- pub fn new(id: i
32
, title: String, description: Option<String>) -> Recipe {
\r
+ pub fn new(id: i
64
, title: String, description: Option<String>) -> Recipe {
\r
Recipe {
\r
id,
\r
title,
\r
Recipe {
\r
id,
\r
title,
\r