pub struct UpdateMealEntry {
pub serving_g: Option<f64>,
pub meal_type: Option<String>,
pub date: Option<NaiveDate>,
pub display_unit: Option<Option<String>>,
pub display_quantity: Option<Option<f64>>,
}Fields§
§serving_g: Option<f64>§meal_type: Option<String>§date: Option<NaiveDate>§display_unit: Option<Option<String>>§display_quantity: Option<Option<f64>>Trait Implementations§
Source§impl Clone for UpdateMealEntry
impl Clone for UpdateMealEntry
Source§fn clone(&self) -> UpdateMealEntry
fn clone(&self) -> UpdateMealEntry
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 moreAuto Trait Implementations§
impl Freeze for UpdateMealEntry
impl RefUnwindSafe for UpdateMealEntry
impl Send for UpdateMealEntry
impl Sync for UpdateMealEntry
impl Unpin for UpdateMealEntry
impl UnsafeUnpin for UpdateMealEntry
impl UnwindSafe for UpdateMealEntry
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