pub enum PublicWorkoutSource {
Manual,
Autodetected,
Confirmed,
WorkoutHeartRate,
}Expand description
Possible workout sources.
JSON schema
{
"title": "PublicWorkoutSource",
"description": "Possible workout sources.",
"type": "string",
"enum": [
"manual",
"autodetected",
"confirmed",
"workout_heart_rate"
]
}Variants§
Trait Implementations§
Source§impl Clone for PublicWorkoutSource
impl Clone for PublicWorkoutSource
Source§fn clone(&self) -> PublicWorkoutSource
fn clone(&self) -> PublicWorkoutSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PublicWorkoutSource
Source§impl Debug for PublicWorkoutSource
impl Debug for PublicWorkoutSource
Source§impl<'de> Deserialize<'de> for PublicWorkoutSource
impl<'de> Deserialize<'de> for PublicWorkoutSource
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
Source§impl Display for PublicWorkoutSource
impl Display for PublicWorkoutSource
impl Eq for PublicWorkoutSource
Source§impl FromStr for PublicWorkoutSource
impl FromStr for PublicWorkoutSource
Source§impl Hash for PublicWorkoutSource
impl Hash for PublicWorkoutSource
Source§impl Ord for PublicWorkoutSource
impl Ord for PublicWorkoutSource
Source§fn cmp(&self, other: &PublicWorkoutSource) -> Ordering
fn cmp(&self, other: &PublicWorkoutSource) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PublicWorkoutSource
impl PartialEq for PublicWorkoutSource
Source§impl PartialOrd for PublicWorkoutSource
impl PartialOrd for PublicWorkoutSource
Source§impl Serialize for PublicWorkoutSource
impl Serialize for PublicWorkoutSource
impl StructuralPartialEq for PublicWorkoutSource
Source§impl TryFrom<&String> for PublicWorkoutSource
impl TryFrom<&String> for PublicWorkoutSource
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for PublicWorkoutSource
impl TryFrom<&str> for PublicWorkoutSource
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for PublicWorkoutSource
impl TryFrom<String> for PublicWorkoutSource
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for PublicWorkoutSource
impl RefUnwindSafe for PublicWorkoutSource
impl Send for PublicWorkoutSource
impl Sync for PublicWorkoutSource
impl Unpin for PublicWorkoutSource
impl UnsafeUnpin for PublicWorkoutSource
impl UnwindSafe for PublicWorkoutSource
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