pub struct Recipe {\r
- pub id: i32,\r
+ pub id: i64,\r
pub title: String,\r
pub description: Option<String>,\r
pub estimate_time: Option<i32>, // [min].\r
}\r
\r
impl Recipe {\r
- pub fn new(id: i32, title: String, description: Option<String>) -> Recipe {\r
+ pub fn new(id: i64, title: String, description: Option<String>) -> Recipe {\r
Recipe {\r
id,\r
title,\r