pub struct WeightEntry {
pub id: Option<i64>,
pub profile_id: i32,
pub date: NaiveDate,
pub weight_kg: Option<f64>,
pub bmi: Option<f64>,
pub body_fat_pct: Option<f64>,
pub muscle_mass_kg: Option<f64>,
}Expand description
Weight entry
Fields§
§id: Option<i64>§profile_id: i32§date: NaiveDate§weight_kg: Option<f64>§bmi: Option<f64>§body_fat_pct: Option<f64>§muscle_mass_kg: Option<f64>Trait Implementations§
Source§impl Clone for WeightEntry
impl Clone for WeightEntry
Source§fn clone(&self) -> WeightEntry
fn clone(&self) -> WeightEntry
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 WeightEntry
impl Debug for WeightEntry
Source§impl<'de> Deserialize<'de> for WeightEntry
impl<'de> Deserialize<'de> for WeightEntry
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 WeightEntry
impl RefUnwindSafe for WeightEntry
impl Send for WeightEntry
impl Sync for WeightEntry
impl Unpin for WeightEntry
impl UnsafeUnpin for WeightEntry
impl UnwindSafe for WeightEntry
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