pub struct Goals {
pub calories_out: i32,
pub steps: u32,
pub distance: f64,
pub floors: i32,
pub active_minutes: i32,
}Fields§
§calories_out: i32§steps: u32§distance: f64§floors: i32§active_minutes: i32Trait Implementations§
Source§impl<'de> Deserialize<'de> for Goals
impl<'de> Deserialize<'de> for Goals
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 Goals
impl RefUnwindSafe for Goals
impl Send for Goals
impl Sync for Goals
impl Unpin for Goals
impl UnwindSafe for Goals
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