pub enum UserProfile {
Show 30 variants MessageIndex(Field<MessageIndex>), FriendlyName(Field<Utf8String>), Gender(Field<Gender>), Age(Field<Uint8>), Height(Field<Uint8>), Weight(Field<Uint16>), Language(Field<Language>), ElevSetting(Field<DisplayMeasure>), WeightSetting(Field<DisplayMeasure>), RestingHeartRate(Field<Uint8>), DefaultMaxRunningHeartRate(Field<Uint8>), DefaultMaxBikingHeartRate(Field<Uint8>), DefaultMaxHeartRate(Field<Uint8>), HrSetting(Field<DisplayHeart>), SpeedSetting(Field<DisplayMeasure>), DistSetting(Field<DisplayMeasure>), PowerSetting(Field<DisplayPower>), ActivityClass(Field<ActivityClass>), PositionSetting(Field<DisplayPosition>), TemperatureSetting(Field<DisplayMeasure>), LocalId(Field<UserLocalId>), GlobalId(Field<Bytes>), WakeTime(Field<LocaltimeIntoDay>), SleepTime(Field<LocaltimeIntoDay>), HeightSetting(Field<DisplayMeasure>), UserRunningStepLength(Field<Uint16>), UserWalkingStepLength(Field<Uint16>), DepthSetting(Field<DisplayMeasure>), DiveCount(Field<Uint32>), Unknown { data: Vec<u8>, field_def_num: u8, },
}

Variants

MessageIndex(Field<MessageIndex>)

FriendlyName(Field<Utf8String>)

Gender(Field<Gender>)

Age(Field<Uint8>)

Height(Field<Uint8>)

Weight(Field<Uint16>)

Language(Field<Language>)

ElevSetting(Field<DisplayMeasure>)

WeightSetting(Field<DisplayMeasure>)

RestingHeartRate(Field<Uint8>)

DefaultMaxRunningHeartRate(Field<Uint8>)

DefaultMaxBikingHeartRate(Field<Uint8>)

DefaultMaxHeartRate(Field<Uint8>)

HrSetting(Field<DisplayHeart>)

SpeedSetting(Field<DisplayMeasure>)

DistSetting(Field<DisplayMeasure>)

PowerSetting(Field<DisplayPower>)

ActivityClass(Field<ActivityClass>)

PositionSetting(Field<DisplayPosition>)

TemperatureSetting(Field<DisplayMeasure>)

LocalId(Field<UserLocalId>)

GlobalId(Field<Bytes>)

WakeTime(Field<LocaltimeIntoDay>)

Typical wake time

SleepTime(Field<LocaltimeIntoDay>)

Typical bed time

HeightSetting(Field<DisplayMeasure>)

UserRunningStepLength(Field<Uint16>)

User defined running step length set to 0 for auto length

UserWalkingStepLength(Field<Uint16>)

User defined walking step length set to 0 for auto length

DepthSetting(Field<DisplayMeasure>)

DiveCount(Field<Uint32>)

Unknown

Fields

data: Vec<u8>
field_def_num: u8

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.