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

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.