pub struct RecentFood {
pub food: Food,
pub last_serving_g: f64,
pub last_meal_type: String,
pub log_count: i64,
pub last_logged: String,
}Fields§
§food: Food§last_serving_g: f64§last_meal_type: String§log_count: i64§last_logged: StringTrait Implementations§
Source§impl Clone for RecentFood
impl Clone for RecentFood
Source§fn clone(&self) -> RecentFood
fn clone(&self) -> RecentFood
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecentFood
impl Debug for RecentFood
Auto Trait Implementations§
impl Freeze for RecentFood
impl RefUnwindSafe for RecentFood
impl Send for RecentFood
impl Sync for RecentFood
impl Unpin for RecentFood
impl UnsafeUnpin for RecentFood
impl UnwindSafe for RecentFood
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