pub struct ActivityType {
pub type_key: String,
pub type_id: Option<u64>,
pub parent_type_id: Option<u64>,
pub is_hidden: Option<bool>,
}Expand description
Activity type information
Fields§
§type_key: StringType key (e.g., “running”, “cycling”, “walking”)
type_id: Option<u64>Type ID
parent_type_id: Option<u64>Parent type key
Whether this is a custom activity type
Trait Implementations§
Source§impl Clone for ActivityType
impl Clone for ActivityType
Source§fn clone(&self) -> ActivityType
fn clone(&self) -> ActivityType
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 ActivityType
impl Debug for ActivityType
Source§impl<'de> Deserialize<'de> for ActivityType
impl<'de> Deserialize<'de> for ActivityType
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 ActivityType
impl RefUnwindSafe for ActivityType
impl Send for ActivityType
impl Sync for ActivityType
impl Unpin for ActivityType
impl UnsafeUnpin for ActivityType
impl UnwindSafe for ActivityType
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