pub enum Session {
Show 120 variants MessageIndex(Field<MessageIndex>), Timestamp(Field<DateTime>), Event(Field<Event>), EventType(Field<EventType>), StartTime(Field<DateTime>), StartPositionLat(Field<Sint32>), StartPositionLong(Field<Sint32>), Sport(Field<Sport>), SubSport(Field<SubSport>), TotalElapsedTime(Field<Uint32>), TotalTimerTime(Field<Uint32>), TotalDistance(Field<Uint32>), TotalCycles(Field<Uint32>), TotalCalories(Field<Uint16>), TotalFatCalories(Field<Uint16>), AvgSpeed(Field<Uint16>), MaxSpeed(Field<Uint16>), AvgHeartRate(Field<Uint8>), MaxHeartRate(Field<Uint8>), AvgCadence(Field<Uint8>), MaxCadence(Field<Uint8>), AvgPower(Field<Uint16>), MaxPower(Field<Uint16>), TotalAscent(Field<Uint16>), TotalDescent(Field<Uint16>), TotalTrainingEffect(Field<Uint8>), FirstLapIndex(Field<Uint16>), NumLaps(Field<Uint16>), EventGroup(Field<Uint8>), Trigger(Field<SessionTrigger>), NecLat(Field<Sint32>), NecLong(Field<Sint32>), SwcLat(Field<Sint32>), SwcLong(Field<Sint32>), NormalizedPower(Field<Uint16>), TrainingStressScore(Field<Uint16>), IntensityFactor(Field<Uint16>), LeftRightBalance(Field<LeftRightBalance100>), AvgStrokeCount(Field<Uint32>), AvgStrokeDistance(Field<Uint16>), SwimStroke(Field<SwimStroke>), PoolLength(Field<Uint16>), ThresholdPower(Field<Uint16>), PoolLengthUnit(Field<DisplayMeasure>), NumActiveLengths(Field<Uint16>), TotalWork(Field<Uint32>), AvgAltitude(Field<Uint16>), MaxAltitude(Field<Uint16>), GpsAccuracy(Field<Uint8>), AvgGrade(Field<Sint16>), AvgPosGrade(Field<Sint16>), AvgNegGrade(Field<Sint16>), MaxPosGrade(Field<Sint16>), MaxNegGrade(Field<Sint16>), AvgTemperature(Field<Sint8>), MaxTemperature(Field<Sint8>), TotalMovingTime(Field<Uint32>), AvgPosVerticalSpeed(Field<Sint16>), AvgNegVerticalSpeed(Field<Sint16>), MaxPosVerticalSpeed(Field<Sint16>), MaxNegVerticalSpeed(Field<Sint16>), MinHeartRate(Field<Uint8>), TimeInHrZone(Field<Uint32>), TimeInSpeedZone(Field<Uint32>), TimeInCadenceZone(Field<Uint32>), TimeInPowerZone(Field<Uint32>), AvgLapTime(Field<Uint32>), BestLapIndex(Field<Uint16>), MinAltitude(Field<Uint16>), PlayerScore(Field<Uint16>), OpponentScore(Field<Uint16>), OpponentName(Field<Utf8String>), StrokeCount(Field<Uint16>), ZoneCount(Field<Uint16>), MaxBallSpeed(Field<Uint16>), AvgBallSpeed(Field<Uint16>), AvgVerticalOscillation(Field<Uint16>), AvgStanceTimePercent(Field<Uint16>), AvgStanceTime(Field<Uint16>), AvgFractionalCadence(Field<Uint8>), MaxFractionalCadence(Field<Uint8>), TotalFractionalCycles(Field<Uint8>), AvgTotalHemoglobinConc(Field<Uint16>), MinTotalHemoglobinConc(Field<Uint16>), MaxTotalHemoglobinConc(Field<Uint16>), AvgSaturatedHemoglobinPercent(Field<Uint16>), MinSaturatedHemoglobinPercent(Field<Uint16>), MaxSaturatedHemoglobinPercent(Field<Uint16>), AvgLeftTorqueEffectiveness(Field<Uint8>), AvgRightTorqueEffectiveness(Field<Uint8>), AvgLeftPedalSmoothness(Field<Uint8>), AvgRightPedalSmoothness(Field<Uint8>), AvgCombinedPedalSmoothness(Field<Uint8>), SportIndex(Field<Uint8>), TimeStanding(Field<Uint32>), StandCount(Field<Uint16>), AvgLeftPco(Field<Sint8>), AvgRightPco(Field<Sint8>), AvgLeftPowerPhase(Field<Uint8>), AvgLeftPowerPhasePeak(Field<Uint8>), AvgRightPowerPhase(Field<Uint8>), AvgRightPowerPhasePeak(Field<Uint8>), AvgPowerPosition(Field<Uint16>), MaxPowerPosition(Field<Uint16>), AvgCadencePosition(Field<Uint8>), MaxCadencePosition(Field<Uint8>), EnhancedAvgSpeed(Field<Uint32>), EnhancedMaxSpeed(Field<Uint32>), EnhancedAvgAltitude(Field<Uint32>), EnhancedMinAltitude(Field<Uint32>), EnhancedMaxAltitude(Field<Uint32>), AvgLevMotorPower(Field<Uint16>), MaxLevMotorPower(Field<Uint16>), LevBatteryConsumption(Field<Uint8>), AvgVerticalRatio(Field<Uint16>), AvgStanceTimeBalance(Field<Uint16>), AvgStepLength(Field<Uint16>), TotalAnaerobicTrainingEffect(Field<Uint8>), AvgVam(Field<Uint16>), Unknown { data: Vec<u8>, field_def_num: u8, },
}

Variants

MessageIndex(Field<MessageIndex>)

Selected bit is set for the current session.

Timestamp(Field<DateTime>)

Sesson end time.

Event(Field<Event>)

session

EventType(Field<EventType>)

stop

StartTime(Field<DateTime>)

StartPositionLat(Field<Sint32>)

StartPositionLong(Field<Sint32>)

Sport(Field<Sport>)

SubSport(Field<SubSport>)

TotalElapsedTime(Field<Uint32>)

Time (includes pauses)

TotalTimerTime(Field<Uint32>)

Timer Time (excludes pauses)

TotalDistance(Field<Uint32>)

TotalCycles(Field<Uint32>)

TotalCalories(Field<Uint16>)

TotalFatCalories(Field<Uint16>)

AvgSpeed(Field<Uint16>)

total_distance / total_timer_time

MaxSpeed(Field<Uint16>)

AvgHeartRate(Field<Uint8>)

average heart rate (excludes pause time)

MaxHeartRate(Field<Uint8>)

AvgCadence(Field<Uint8>)

total_cycles / total_timer_time if non_zero_avg_cadence otherwise total_cycles / total_elapsed_time

MaxCadence(Field<Uint8>)

AvgPower(Field<Uint16>)

total_power / total_timer_time if non_zero_avg_power otherwise total_power / total_elapsed_time

MaxPower(Field<Uint16>)

TotalAscent(Field<Uint16>)

TotalDescent(Field<Uint16>)

TotalTrainingEffect(Field<Uint8>)

FirstLapIndex(Field<Uint16>)

NumLaps(Field<Uint16>)

EventGroup(Field<Uint8>)

Trigger(Field<SessionTrigger>)

NecLat(Field<Sint32>)

NecLong(Field<Sint32>)

SwcLat(Field<Sint32>)

SwcLong(Field<Sint32>)

NormalizedPower(Field<Uint16>)

TrainingStressScore(Field<Uint16>)

IntensityFactor(Field<Uint16>)

LeftRightBalance(Field<LeftRightBalance100>)

AvgStrokeCount(Field<Uint32>)

AvgStrokeDistance(Field<Uint16>)

SwimStroke(Field<SwimStroke>)

PoolLength(Field<Uint16>)

ThresholdPower(Field<Uint16>)

PoolLengthUnit(Field<DisplayMeasure>)

NumActiveLengths(Field<Uint16>)

TotalWork(Field<Uint32>)

AvgAltitude(Field<Uint16>)

MaxAltitude(Field<Uint16>)

GpsAccuracy(Field<Uint8>)

AvgGrade(Field<Sint16>)

AvgPosGrade(Field<Sint16>)

AvgNegGrade(Field<Sint16>)

MaxPosGrade(Field<Sint16>)

MaxNegGrade(Field<Sint16>)

AvgTemperature(Field<Sint8>)

MaxTemperature(Field<Sint8>)

TotalMovingTime(Field<Uint32>)

AvgPosVerticalSpeed(Field<Sint16>)

AvgNegVerticalSpeed(Field<Sint16>)

MaxPosVerticalSpeed(Field<Sint16>)

MaxNegVerticalSpeed(Field<Sint16>)

MinHeartRate(Field<Uint8>)

TimeInHrZone(Field<Uint32>)

TimeInSpeedZone(Field<Uint32>)

TimeInCadenceZone(Field<Uint32>)

TimeInPowerZone(Field<Uint32>)

AvgLapTime(Field<Uint32>)

BestLapIndex(Field<Uint16>)

MinAltitude(Field<Uint16>)

PlayerScore(Field<Uint16>)

OpponentScore(Field<Uint16>)

OpponentName(Field<Utf8String>)

StrokeCount(Field<Uint16>)

stroke_type enum used as the index

ZoneCount(Field<Uint16>)

zone number used as the index

MaxBallSpeed(Field<Uint16>)

AvgBallSpeed(Field<Uint16>)

AvgVerticalOscillation(Field<Uint16>)

AvgStanceTimePercent(Field<Uint16>)

AvgStanceTime(Field<Uint16>)

AvgFractionalCadence(Field<Uint8>)

fractional part of the avg_cadence

MaxFractionalCadence(Field<Uint8>)

fractional part of the max_cadence

TotalFractionalCycles(Field<Uint8>)

fractional part of the total_cycles

AvgTotalHemoglobinConc(Field<Uint16>)

Avg saturated and unsaturated hemoglobin

MinTotalHemoglobinConc(Field<Uint16>)

Min saturated and unsaturated hemoglobin

MaxTotalHemoglobinConc(Field<Uint16>)

Max saturated and unsaturated hemoglobin

AvgSaturatedHemoglobinPercent(Field<Uint16>)

Avg percentage of hemoglobin saturated with oxygen

MinSaturatedHemoglobinPercent(Field<Uint16>)

Min percentage of hemoglobin saturated with oxygen

MaxSaturatedHemoglobinPercent(Field<Uint16>)

Max percentage of hemoglobin saturated with oxygen

AvgLeftTorqueEffectiveness(Field<Uint8>)

AvgRightTorqueEffectiveness(Field<Uint8>)

AvgLeftPedalSmoothness(Field<Uint8>)

AvgRightPedalSmoothness(Field<Uint8>)

AvgCombinedPedalSmoothness(Field<Uint8>)

SportIndex(Field<Uint8>)

TimeStanding(Field<Uint32>)

Total time spend in the standing position

StandCount(Field<Uint16>)

Number of transitions to the standing state

AvgLeftPco(Field<Sint8>)

Average platform center offset Left

AvgRightPco(Field<Sint8>)

Average platform center offset Right

AvgLeftPowerPhase(Field<Uint8>)

Average left power phase angles. Indexes defined by power_phase_type.

AvgLeftPowerPhasePeak(Field<Uint8>)

Average left power phase peak angles. Data value indexes defined by power_phase_type.

AvgRightPowerPhase(Field<Uint8>)

Average right power phase angles. Data value indexes defined by power_phase_type.

AvgRightPowerPhasePeak(Field<Uint8>)

Average right power phase peak angles data value indexes defined by power_phase_type.

AvgPowerPosition(Field<Uint16>)

Average power by position. Data value indexes defined by rider_position_type.

MaxPowerPosition(Field<Uint16>)

Maximum power by position. Data value indexes defined by rider_position_type.

AvgCadencePosition(Field<Uint8>)

Average cadence by position. Data value indexes defined by rider_position_type.

MaxCadencePosition(Field<Uint8>)

Maximum cadence by position. Data value indexes defined by rider_position_type.

EnhancedAvgSpeed(Field<Uint32>)

total_distance / total_timer_time

EnhancedMaxSpeed(Field<Uint32>)

EnhancedAvgAltitude(Field<Uint32>)

EnhancedMinAltitude(Field<Uint32>)

EnhancedMaxAltitude(Field<Uint32>)

AvgLevMotorPower(Field<Uint16>)

lev average motor power during session

MaxLevMotorPower(Field<Uint16>)

lev maximum motor power during session

LevBatteryConsumption(Field<Uint8>)

lev battery consumption during session

AvgVerticalRatio(Field<Uint16>)

AvgStanceTimeBalance(Field<Uint16>)

AvgStepLength(Field<Uint16>)

TotalAnaerobicTrainingEffect(Field<Uint8>)

AvgVam(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.