Enum garminfit::profile::messages::SegmentFile
source · pub enum SegmentFile {
MessageIndex(Field<MessageIndex>),
FileUuid(Field<Utf8String>),
Enabled(Field<Bool>),
UserProfilePrimaryKey(Field<Uint32>),
LeaderType(Field<SegmentLeaderboardType>),
LeaderGroupPrimaryKey(Field<Uint32>),
LeaderActivityId(Field<Uint32>),
LeaderActivityIdString(Field<Utf8String>),
DefaultRaceLeader(Field<Uint8>),
Unknown {
data: Vec<u8>,
field_def_num: u8,
},
}
Expand description
Summary of the unique segment and leaderboard information associated with a segment file. This message is used to compile a segment list file describing all segment files on a device. The segment list file is used when refreshing the contents of a segment file with the latest available leaderboard information.
Variants
MessageIndex(Field<MessageIndex>)
FileUuid(Field<Utf8String>)
UUID of the segment file
Enabled(Field<Bool>)
Enabled state of the segment file
UserProfilePrimaryKey(Field<Uint32>)
Primary key of the user that created the segment file
LeaderType(Field<SegmentLeaderboardType>)
Leader type of each leader in the segment file
LeaderGroupPrimaryKey(Field<Uint32>)
Group primary key of each leader in the segment file
LeaderActivityId(Field<Uint32>)
Activity ID of each leader in the segment file
LeaderActivityIdString(Field<Utf8String>)
String version of the activity ID of each leader in the segment file. 21 characters long for each ID, express in decimal
DefaultRaceLeader(Field<Uint8>)
Index for the Leader Board entry selected as the default race participant