pub struct MfpRow {
pub date: String,
pub meal: String,
pub food_name: String,
pub calories: f64,
pub fat: f64,
pub protein: f64,
pub carbs: f64,
pub fiber: Option<f64>,
pub sugar: Option<f64>,
}Expand description
A single row parsed from an MFP CSV export.
Fields§
§date: String§meal: String§food_name: String§calories: f64§fat: f64§protein: f64§carbs: f64§fiber: Option<f64>§sugar: Option<f64>Trait Implementations§
Auto Trait Implementations§
impl Freeze for MfpRow
impl RefUnwindSafe for MfpRow
impl Send for MfpRow
impl Sync for MfpRow
impl Unpin for MfpRow
impl UnsafeUnpin for MfpRow
impl UnwindSafe for MfpRow
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