pub struct NewWeightEntry {
pub date: NaiveDate,
pub weight_kg: f64,
pub source: String,
pub notes: Option<String>,
}Fields§
§date: NaiveDate§weight_kg: f64§source: String§notes: Option<String>Trait Implementations§
Source§impl Clone for NewWeightEntry
impl Clone for NewWeightEntry
Source§fn clone(&self) -> NewWeightEntry
fn clone(&self) -> NewWeightEntry
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 NewWeightEntry
impl RefUnwindSafe for NewWeightEntry
impl Send for NewWeightEntry
impl Sync for NewWeightEntry
impl Unpin for NewWeightEntry
impl UnsafeUnpin for NewWeightEntry
impl UnwindSafe for NewWeightEntry
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