pub struct StepEntry {
pub date: NaiveDate,
pub steps: u64,
pub source: Option<String>,
}Expand description
Daily step count entry.
Fields§
§date: NaiveDate§steps: u64Step count
source: Option<String>Source
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StepEntry
impl<'de> Deserialize<'de> for StepEntry
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 StepEntry
impl RefUnwindSafe for StepEntry
impl Send for StepEntry
impl Sync for StepEntry
impl Unpin for StepEntry
impl UnsafeUnpin for StepEntry
impl UnwindSafe for StepEntry
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