pub enum Monitoring {
Show 30 variants Timestamp(Field<DateTime>), DeviceIndex(Field<DeviceIndex>), Calories(Field<Uint16>), Distance(Field<Uint32>), Cycles(Field<Uint32>), ActiveTime(Field<Uint32>), ActivityType(Field<ActivityType>), ActivitySubtype(Field<ActivitySubtype>), ActivityLevel(Field<ActivityLevel>), Distance16(Field<Uint16>), Cycles16(Field<Uint16>), ActiveTime16(Field<Uint16>), LocalTimestamp(Field<LocalDateTime>), Temperature(Field<Sint16>), TemperatureMin(Field<Sint16>), TemperatureMax(Field<Sint16>), ActivityTime(Field<Uint16>), ActiveCalories(Field<Uint16>), CurrentActivityTypeIntensity(Field<Bytes>), TimestampMin8(Field<Uint8>), Timestamp16(Field<Uint16>), HeartRate(Field<Uint8>), Intensity(Field<Uint8>), DurationMin(Field<Uint16>), Duration(Field<Uint32>), Ascent(Field<Uint32>), Descent(Field<Uint32>), ModerateActivityMinutes(Field<Uint16>), VigorousActivityMinutes(Field<Uint16>), Unknown { data: Vec<u8>, field_def_num: u8, },
}

Variants

Timestamp(Field<DateTime>)

Must align to logging interval, for example, time must be 00:00:00 for daily log.

DeviceIndex(Field<DeviceIndex>)

Associates this data to device_info message. Not required for file with single device (sensor).

Calories(Field<Uint16>)

Accumulated total calories. Maintained by MonitoringReader for each activity_type. See SDK documentation

Distance(Field<Uint32>)

Accumulated distance. Maintained by MonitoringReader for each activity_type. See SDK documentation.

Cycles(Field<Uint32>)

Accumulated cycles. Maintained by MonitoringReader for each activity_type. See SDK documentation.

ActiveTime(Field<Uint32>)

ActivityType(Field<ActivityType>)

ActivitySubtype(Field<ActivitySubtype>)

ActivityLevel(Field<ActivityLevel>)

Distance16(Field<Uint16>)

Cycles16(Field<Uint16>)

ActiveTime16(Field<Uint16>)

LocalTimestamp(Field<LocalDateTime>)

Must align to logging interval, for example, time must be 00:00:00 for daily log.

Temperature(Field<Sint16>)

Avg temperature during the logging interval ended at timestamp

TemperatureMin(Field<Sint16>)

Min temperature during the logging interval ended at timestamp

TemperatureMax(Field<Sint16>)

Max temperature during the logging interval ended at timestamp

ActivityTime(Field<Uint16>)

Indexed using minute_activity_level enum

ActiveCalories(Field<Uint16>)

CurrentActivityTypeIntensity(Field<Bytes>)

Indicates single type / intensity for duration since last monitoring message.

TimestampMin8(Field<Uint8>)

Timestamp16(Field<Uint16>)

HeartRate(Field<Uint8>)

Intensity(Field<Uint8>)

DurationMin(Field<Uint16>)

Duration(Field<Uint32>)

Ascent(Field<Uint32>)

Descent(Field<Uint32>)

ModerateActivityMinutes(Field<Uint16>)

VigorousActivityMinutes(Field<Uint16>)

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.