|
|
@ -60,7 +60,7 @@ fn main(){ |
|
|
|
Food { |
|
|
|
Food { |
|
|
|
name: String::from("big mac"), |
|
|
|
name: String::from("big mac"), |
|
|
|
calories: ["2133.84kJ".to_string(), "510kcal".to_string()], |
|
|
|
calories: ["2133.84kJ".to_string(), "510kcal".to_string()], |
|
|
|
protein: 27.0, |
|
|
|
proteins: 27.0, |
|
|
|
fats: 26.0, |
|
|
|
fats: 26.0, |
|
|
|
carbs: 41.0, |
|
|
|
carbs: 41.0, |
|
|
|
nbr_of_portions: 2.0, |
|
|
|
nbr_of_portions: 2.0, |
|
|
@ -68,7 +68,7 @@ fn main(){ |
|
|
|
Food { |
|
|
|
Food { |
|
|
|
name: "pizza margherita".to_string(), |
|
|
|
name: "pizza margherita".to_string(), |
|
|
|
calories: ["1500.59kJ".to_string(), "358.65kcal".to_string()], |
|
|
|
calories: ["1500.59kJ".to_string(), "358.65kcal".to_string()], |
|
|
|
protein: 13.89, |
|
|
|
proteins: 13.89, |
|
|
|
fats: 11.21, |
|
|
|
fats: 11.21, |
|
|
|
carbs: 49.07, |
|
|
|
carbs: 49.07, |
|
|
|
nbr_of_portions: 4.9, |
|
|
|
nbr_of_portions: 4.9, |
|
|
|