pub struct UpdatableActivity {
pub commute: Option<bool>,
pub trainer: Option<bool>,
pub hide_from_home: Option<bool>,
pub description: Option<String>,
pub name: Option<String>,
pub type: Option<ActivityType>,
pub sport_type: Option<SportType>,
pub gear_id: Option<String>,
}Fields§
§commute: Option<bool>§trainer: Option<bool>§hide_from_home: Option<bool>§description: Option<String>§name: Option<String>§type: Option<ActivityType>👎Deprecated:
§Use sport_type instead
sport_type: Option<SportType>§gear_id: Option<String>Trait Implementations§
Source§impl Clone for UpdatableActivity
impl Clone for UpdatableActivity
Source§fn clone(&self) -> UpdatableActivity
fn clone(&self) -> UpdatableActivity
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 UpdatableActivity
impl Debug for UpdatableActivity
Source§impl Default for UpdatableActivity
impl Default for UpdatableActivity
Source§fn default() -> UpdatableActivity
fn default() -> UpdatableActivity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdatableActivity
impl<'de> Deserialize<'de> for UpdatableActivity
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 UpdatableActivity
impl RefUnwindSafe for UpdatableActivity
impl Send for UpdatableActivity
impl Sync for UpdatableActivity
impl Unpin for UpdatableActivity
impl UnsafeUnpin for UpdatableActivity
impl UnwindSafe for UpdatableActivity
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