pub struct ExportMealEntry {
pub id: i64,
pub uuid: String,
pub date: String,
pub meal_type: String,
pub food_id: i64,
pub food_uuid: String,
pub serving_g: f64,
pub display_unit: Option<String>,
pub display_quantity: Option<f64>,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: i64§uuid: String§date: String§meal_type: String§food_id: i64§food_uuid: String§serving_g: f64§display_unit: Option<String>§display_quantity: Option<f64>§created_at: String§updated_at: StringTrait Implementations§
Source§impl Clone for ExportMealEntry
impl Clone for ExportMealEntry
Source§fn clone(&self) -> ExportMealEntry
fn clone(&self) -> ExportMealEntry
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 ExportMealEntry
impl Debug for ExportMealEntry
Source§impl<'de> Deserialize<'de> for ExportMealEntry
impl<'de> Deserialize<'de> for ExportMealEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExportMealEntry
impl RefUnwindSafe for ExportMealEntry
impl Send for ExportMealEntry
impl Sync for ExportMealEntry
impl Unpin for ExportMealEntry
impl UnsafeUnpin for ExportMealEntry
impl UnwindSafe for ExportMealEntry
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