pub struct MealGroup {
pub meal_type: String,
pub entries: Vec<MealEntry>,
pub subtotal_calories: f64,
pub subtotal_protein: f64,
pub subtotal_carbs: f64,
pub subtotal_fat: f64,
}Fields§
§meal_type: String§entries: Vec<MealEntry>§subtotal_calories: f64§subtotal_protein: f64§subtotal_carbs: f64§subtotal_fat: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for MealGroup
impl RefUnwindSafe for MealGroup
impl Send for MealGroup
impl Sync for MealGroup
impl Unpin for MealGroup
impl UnsafeUnpin for MealGroup
impl UnwindSafe for MealGroup
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more