pub enum SegmentId {
Name(Field<Utf8String>),
Uuid(Field<Utf8String>),
Sport(Field<Sport>),
Enabled(Field<Bool>),
UserProfilePrimaryKey(Field<Uint32>),
DeviceId(Field<Uint32>),
DefaultRaceLeader(Field<Uint8>),
DeleteStatus(Field<SegmentDeleteStatus>),
SelectionType(Field<SegmentSelectionType>),
Unknown {
data: Vec<u8>,
field_def_num: u8,
},
}
Expand description
Unique Identification data for a segment file
Variants
Name(Field<Utf8String>)
Friendly name assigned to segment
Uuid(Field<Utf8String>)
UUID of the segment
Sport(Field<Sport>)
Sport associated with the segment
Enabled(Field<Bool>)
Segment enabled for evaluation
UserProfilePrimaryKey(Field<Uint32>)
Primary key of the user that created the segment
DeviceId(Field<Uint32>)
ID of the device that created the segment
DefaultRaceLeader(Field<Uint8>)
Index for the Leader Board entry selected as the default race participant
DeleteStatus(Field<SegmentDeleteStatus>)
Indicates if any segments should be deleted
SelectionType(Field<SegmentSelectionType>)
Indicates how the segment was selected to be sent to the device
Unknown
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SegmentId
impl Send for SegmentId
impl Sync for SegmentId
impl Unpin for SegmentId
impl UnwindSafe for SegmentId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more