pub fn segment_file_message() -> MessageInfo {
    let mut fields = HashMap::new();
    // UUID of the segment file
    let field = FieldInfo {
        name: "file_uuid",
        field_type: FieldDataType::String,
        def_number: 1,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(1, field);
    // Enabled state of the segment file
    let field = FieldInfo {
        name: "enabled",
        field_type: FieldDataType::Bool,
        def_number: 3,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(3, field);
    // Primary key of the user that created the segment file
    let field = FieldInfo {
        name: "user_profile_primary_key",
        field_type: FieldDataType::UInt32,
        def_number: 4,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(4, field);
    // Leader type of each leader in the segment file
    let field = FieldInfo {
        name: "leader_type",
        field_type: FieldDataType::SegmentLeaderboardType,
        def_number: 7,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(7, field);
    // Group primary key of each leader in the segment file
    let field = FieldInfo {
        name: "leader_group_primary_key",
        field_type: FieldDataType::UInt32,
        def_number: 8,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(8, field);
    // Activity ID of each leader in the segment file
    let field = FieldInfo {
        name: "leader_activity_id",
        field_type: FieldDataType::UInt32,
        def_number: 9,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(9, field);
    // String version of the activity ID of each leader in the segment file. 21 characters long for each ID, express in decimal
    let field = FieldInfo {
        name: "leader_activity_id_string",
        field_type: FieldDataType::String,
        def_number: 10,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(10, field);
    // Index for the Leader Board entry selected as the default race participant
    let field = FieldInfo {
        name: "default_race_leader",
        field_type: FieldDataType::UInt8,
        def_number: 11,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(11, field);
    let field = FieldInfo {
        name: "message_index",
        field_type: FieldDataType::MessageIndex,
        def_number: 254,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(254, field);
    MessageInfo {
        name: "segment_file",
        global_message_number: MesgNum::SegmentFile,
        fields,
    }
}
/// 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.
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.
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 .
pub fn segment_file_message() -> MessageInfo {
    let mut fields = HashMap::new();
    // UUID of the segment file
    let field = FieldInfo {
        name: "file_uuid",
        field_type: FieldDataType::String,
        def_number: 1,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(1, field);
    // Enabled state of the segment file
    let field = FieldInfo {
        name: "enabled",
        field_type: FieldDataType::Bool,
        def_number: 3,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(3, field);
    // Primary key of the user that created the segment file
    let field = FieldInfo {
        name: "user_profile_primary_key",
        field_type: FieldDataType::UInt32,
        def_number: 4,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(4, field);
    // Leader type of each leader in the segment file
    let field = FieldInfo {
        name: "leader_type",
        field_type: FieldDataType::SegmentLeaderboardType,
        def_number: 7,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(7, field);
    // Group primary key of each leader in the segment file
    let field = FieldInfo {
        name: "leader_group_primary_key",
        field_type: FieldDataType::UInt32,
        def_number: 8,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(8, field);
    // Activity ID of each leader in the segment file
    let field = FieldInfo {
        name: "leader_activity_id",
        field_type: FieldDataType::UInt32,
        def_number: 9,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(9, field);
    // String version of the activity ID of each leader in the segment file. 21 characters long for each ID, express in decimal
    let field = FieldInfo {
        name: "leader_activity_id_string",
        field_type: FieldDataType::String,
        def_number: 10,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(10, field);
    // Index for the Leader Board entry selected as the default race participant
    let field = FieldInfo {
        name: "default_race_leader",
        field_type: FieldDataType::UInt8,
        def_number: 11,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(11, field);
    let field = FieldInfo {
        name: "message_index",
        field_type: FieldDataType::MessageIndex,
        def_number: 254,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(254, field);
    MessageInfo {
        name: "segment_file",
        global_message_number: MesgNum::SegmentFile,
        fields,
    }
}
pub fn segment_file_message ( ) -> MessageInfo { let mut fields = HashMap :: new ( ) ; // UUID of the segment file let field = FieldInfo { name : " " , field_type : FieldDataType :: String , def_number : 1 , scale : 1.000000 , offset : 0.000000 , units : " " , accumulate : false , subfields : Vec :: new ( ) , components : Vec :: new ( ) , } ; fields . insert ( 1 , field ) ; // Enabled state of the segment file let field = FieldInfo { name : " " , field_type : FieldDataType :: Bool , def_number : 3 , scale : 1.000000 , offset : 0.000000 , units : " " , accumulate : false , subfields : Vec :: new ( ) , components : Vec :: new ( ) , } ; fields . insert ( 3 , field ) ; // Primary key of the user that created the segment file let field = FieldInfo { name : " " , field_type : FieldDataType :: UInt32 , def_number : 4 , scale : 1.000000 , offset : 0.000000 , units : " " , accumulate : false , subfields : Vec :: new ( ) , components : Vec :: new ( ) , } ; fields . insert ( 4 , field ) ; // Leader type of each leader in the segment file let field = FieldInfo { name : " " , field_type : FieldDataType :: SegmentLeaderboardType , def_number : 7 , scale : 1.000000 , offset : 0.000000 , units : " " , accumulate : false , subfields : Vec :: new ( ) , components : Vec :: new ( ) , } ; fields . insert ( 7 , field ) ; // Group primary key of each leader in the segment file let field = FieldInfo { name : " " , field_type : FieldDataType :: UInt32 , def_number : 8 , scale : 1.000000 , offset : 0.000000 , units : " " , accumulate : false , subfields : Vec :: new ( ) , components : Vec :: new ( ) , } ; fields . insert ( 8 , field ) ; // Activity ID of each leader in the segment file let field = FieldInfo { name : " " , field_type : FieldDataType :: UInt32 , def_number : 9 , scale : 1.000000 , offset : 0.000000 , units : " " , accumulate : false , subfields : Vec :: new ( ) , components : Vec :: new ( ) , } ; fields . insert ( 9 , field ) ; // String version of the activity ID of each leader in the segment file. 21 characters long for each ID, express in decimal let field = FieldInfo { name : " " , field_type : FieldDataType :: String , def_number : 10 , scale : 1.000000 , offset : 0.000000 , units : " " , accumulate : false , subfields : Vec :: new ( ) , components : Vec :: new ( ) , } ; fields . insert ( 10 , field ) ; // Index for the Leader Board entry selected as the default race participant let field = FieldInfo { name : " " , field_type : FieldDataType :: UInt8 , def_number : 11 , scale : 1.000000 , offset : 0.000000 , units : " " , accumulate : false , subfields : Vec :: new ( ) , components : Vec :: new ( ) , } ; fields . insert ( 11 , field ) ; let field = FieldInfo { name : " " , field_type : FieldDataType :: MessageIndex , def_number : 254 , scale : 1.000000 , offset : 0.000000 , units : " " , accumulate : false , subfields : Vec :: new ( ) , components : Vec :: new ( ) , } ; fields . insert ( 254 , field ) ; MessageInfo { name : " " , global_message_number : MesgNum :: SegmentFile , fields , } }
Summary of the unique segment and leaderboard information associated with a segment file.
Summary of the unique segment and leaderboard information associated with a segment file .