pub enum ExtApiV2DataType {
Show 16 variants
Tag,
EnhancedTag,
Workout,
Session,
Sleep,
DailySleep,
DailyReadiness,
DailyActivity,
DailySpo2,
SleepTime,
RestModePeriod,
RingConfiguration,
DailyStress,
DailyCardiovascularAge,
DailyResilience,
Vo2Max,
}Expand description
Data types that partners can subscribe to via ExtApiV2 webhooks.
JSON schema
{
"title": "ExtApiV2DataType",
"description": "Data types that partners can subscribe to via ExtApiV2 webhooks.",
"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"
]
}Variants§
Tag
EnhancedTag
Workout
Session
Sleep
DailySleep
DailyReadiness
DailyActivity
DailySpo2
SleepTime
RestModePeriod
RingConfiguration
DailyStress
DailyCardiovascularAge
DailyResilience
Vo2Max
Trait Implementations§
Source§impl Clone for ExtApiV2DataType
impl Clone for ExtApiV2DataType
impl 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
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum 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