pub struct WeightEntry {
pub id: i64,
pub uuid: String,
pub date: NaiveDate,
pub weight_kg: f64,
pub source: String,
pub notes: Option<String>,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: i64§uuid: String§date: NaiveDate§weight_kg: f64§source: String§notes: Option<String>§created_at: String§updated_at: StringTrait 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
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