pub enum Message {
Show 86 variants FileId(FileId), FileCreator(FileCreator), TimestampCorrelation(TimestampCorrelation), Software(Software), SlaveDevice(SlaveDevice), Capabilities(Capabilities), FileCapabilities(FileCapabilities), MesgCapabilities(MesgCapabilities), FieldCapabilities(FieldCapabilities), DeviceSettings(DeviceSettings), UserProfile(UserProfile), HrmProfile(HrmProfile), SdmProfile(SdmProfile), BikeProfile(BikeProfile), Connectivity(Connectivity), WatchfaceSettings(WatchfaceSettings), OhrSettings(OhrSettings), ZonesTarget(ZonesTarget), Sport(Sport), HrZone(HrZone), SpeedZone(SpeedZone), CadenceZone(CadenceZone), PowerZone(PowerZone), MetZone(MetZone), DiveSettings(DiveSettings), DiveAlarm(DiveAlarm), DiveGas(DiveGas), Goal(Goal), Activity(Activity), Session(Session), Lap(Lap), Length(Length), Record(Record), Event(Event), DeviceInfo(DeviceInfo), TrainingFile(TrainingFile), Hrv(Hrv), WeatherConditions(WeatherConditions), WeatherAlert(WeatherAlert), GpsMetadata(GpsMetadata), CameraEvent(CameraEvent), GyroscopeData(GyroscopeData), AccelerometerData(AccelerometerData), MagnetometerData(MagnetometerData), BarometerData(BarometerData), ThreeDSensorCalibration(ThreeDSensorCalibration), OneDSensorCalibration(OneDSensorCalibration), VideoFrame(VideoFrame), ObdiiData(ObdiiData), NmeaSentence(NmeaSentence), AviationAttitude(AviationAttitude), Video(Video), VideoTitle(VideoTitle), VideoDescription(VideoDescription), VideoClip(VideoClip), Set(Set), Course(Course), CoursePoint(CoursePoint), SegmentId(SegmentId), SegmentLeaderboardEntry(SegmentLeaderboardEntry), SegmentPoint(SegmentPoint), SegmentLap(SegmentLap), SegmentFile(SegmentFile), Workout(Workout), WorkoutSession(WorkoutSession), WorkoutStep(WorkoutStep), ExerciseTitle(ExerciseTitle), Schedule(Schedule), Totals(Totals), WeightScale(WeightScale), BloodPressure(BloodPressure), MonitoringInfo(MonitoringInfo), Monitoring(Monitoring), Hr(Hr), StressLevel(StressLevel), MemoGlob(MemoGlob), AntChannelId(AntChannelId), AntRx(AntRx), AntTx(AntTx), ExdScreenConfiguration(ExdScreenConfiguration), ExdDataFieldConfiguration(ExdDataFieldConfiguration), ExdDataConceptConfiguration(ExdDataConceptConfiguration), FieldDescription(FieldDescription), DeveloperDataId(DeveloperDataId), DiveSummary(DiveSummary), Unknown { data: Vec<u8>, mesg_num: u16, field_def_num: u8, },
}
Expand description

All the FIT message types.

Variants

FileId(FileId)

FileCreator(FileCreator)

TimestampCorrelation(TimestampCorrelation)

Software(Software)

SlaveDevice(SlaveDevice)

Capabilities(Capabilities)

FileCapabilities(FileCapabilities)

MesgCapabilities(MesgCapabilities)

FieldCapabilities(FieldCapabilities)

DeviceSettings(DeviceSettings)

UserProfile(UserProfile)

HrmProfile(HrmProfile)

SdmProfile(SdmProfile)

BikeProfile(BikeProfile)

Connectivity(Connectivity)

WatchfaceSettings(WatchfaceSettings)

OhrSettings(OhrSettings)

ZonesTarget(ZonesTarget)

Sport(Sport)

HrZone(HrZone)

SpeedZone(SpeedZone)

CadenceZone(CadenceZone)

PowerZone(PowerZone)

MetZone(MetZone)

DiveSettings(DiveSettings)

DiveAlarm(DiveAlarm)

DiveGas(DiveGas)

Goal(Goal)

Activity(Activity)

Session(Session)

Lap(Lap)

Length(Length)

Record(Record)

Event(Event)

DeviceInfo(DeviceInfo)

TrainingFile(TrainingFile)

Hrv(Hrv)

WeatherConditions(WeatherConditions)

WeatherAlert(WeatherAlert)

GpsMetadata(GpsMetadata)

CameraEvent(CameraEvent)

GyroscopeData(GyroscopeData)

AccelerometerData(AccelerometerData)

MagnetometerData(MagnetometerData)

BarometerData(BarometerData)

ThreeDSensorCalibration(ThreeDSensorCalibration)

OneDSensorCalibration(OneDSensorCalibration)

VideoFrame(VideoFrame)

ObdiiData(ObdiiData)

NmeaSentence(NmeaSentence)

AviationAttitude(AviationAttitude)

Video(Video)

VideoTitle(VideoTitle)

VideoDescription(VideoDescription)

VideoClip(VideoClip)

Set(Set)

Course(Course)

CoursePoint(CoursePoint)

SegmentId(SegmentId)

SegmentLeaderboardEntry(SegmentLeaderboardEntry)

SegmentPoint(SegmentPoint)

SegmentLap(SegmentLap)

SegmentFile(SegmentFile)

Workout(Workout)

WorkoutSession(WorkoutSession)

WorkoutStep(WorkoutStep)

ExerciseTitle(ExerciseTitle)

Schedule(Schedule)

Totals(Totals)

WeightScale(WeightScale)

BloodPressure(BloodPressure)

MonitoringInfo(MonitoringInfo)

Monitoring(Monitoring)

Hr(Hr)

StressLevel(StressLevel)

MemoGlob(MemoGlob)

AntChannelId(AntChannelId)

AntRx(AntRx)

AntTx(AntTx)

ExdScreenConfiguration(ExdScreenConfiguration)

ExdDataFieldConfiguration(ExdDataFieldConfiguration)

ExdDataConceptConfiguration(ExdDataConceptConfiguration)

FieldDescription(FieldDescription)

DeveloperDataId(DeveloperDataId)

DiveSummary(DiveSummary)

Unknown

Fields

data: Vec<u8>
mesg_num: u16
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.