pub enum ExtApiV2DataType {
Show 17 variants
Tag,
EnhancedTag,
Workout,
Session,
Sleep,
DailySleep,
DailyReadiness,
DailyActivity,
DailySpo2,
SleepTime,
RestModePeriod,
RingConfiguration,
DailyStress,
DailyCardiovascularAge,
DailyResilience,
Vo2Max,
Meal,
}Expand description
ExtApiV2DataType
JSON schema
{
"title": "ExtApiV2DataType",
"type": "string",
"enum": [
"tag",
"enhanced_tag",
"workout",
"session",
"sleep",
"daily_sleep",
"daily_readiness",
"daily_activity",
"daily_spo2",
"sleep_time",
"rest_mode_period",
"ring_configuration",
"daily_stress",
"daily_cardiovascular_age",
"daily_resilience",
"vo2_max",
"meal"
]
}Variants§
Tag
EnhancedTag
Workout
Session
Sleep
DailySleep
DailyReadiness
DailyActivity
DailySpo2
SleepTime
RestModePeriod
RingConfiguration
DailyStress
DailyCardiovascularAge
DailyResilience
Vo2Max
Meal
Trait Implementations§
Source§impl Clone for ExtApiV2DataType
impl Clone for ExtApiV2DataType
Source§fn clone(&self) -> ExtApiV2DataType
fn clone(&self) -> ExtApiV2DataType
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 ExtApiV2DataType
Source§impl Debug for ExtApiV2DataType
impl Debug for ExtApiV2DataType
Source§impl<'de> Deserialize<'de> for ExtApiV2DataType
impl<'de> Deserialize<'de> for ExtApiV2DataType
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 ExtApiV2DataType
impl Display for ExtApiV2DataType
impl Eq for ExtApiV2DataType
Source§impl FromStr for ExtApiV2DataType
impl FromStr for ExtApiV2DataType
Source§impl Hash for ExtApiV2DataType
impl Hash for ExtApiV2DataType
Source§impl Ord for ExtApiV2DataType
impl Ord for ExtApiV2DataType
Source§fn cmp(&self, other: &ExtApiV2DataType) -> Ordering
fn cmp(&self, other: &ExtApiV2DataType) -> 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 ExtApiV2DataType
impl PartialEq for ExtApiV2DataType
Source§impl PartialOrd for ExtApiV2DataType
impl PartialOrd for ExtApiV2DataType
Source§impl Serialize for ExtApiV2DataType
impl Serialize for ExtApiV2DataType
impl StructuralPartialEq for ExtApiV2DataType
Source§impl TryFrom<&String> for ExtApiV2DataType
impl TryFrom<&String> for ExtApiV2DataType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ExtApiV2DataType
impl TryFrom<&str> for ExtApiV2DataType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ExtApiV2DataType
impl TryFrom<String> for ExtApiV2DataType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ExtApiV2DataType
impl RefUnwindSafe for ExtApiV2DataType
impl Send for ExtApiV2DataType
impl Sync for ExtApiV2DataType
impl Unpin for ExtApiV2DataType
impl UnsafeUnpin for ExtApiV2DataType
impl UnwindSafe for ExtApiV2DataType
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