pub fn segment_leaderboard_entry_message() -> MessageInfo {
    let mut fields = HashMap::new();
    // Friendly name assigned to leader
    let field = FieldInfo {
        name: "name",
        field_type: FieldDataType::String,
        def_number: 0,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(0, field);
    // Leader classification
    let field = FieldInfo {
        name: "type",
        field_type: FieldDataType::SegmentLeaderboardType,
        def_number: 1,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(1, field);
    // Primary user ID of this leader
    let field = FieldInfo {
        name: "group_primary_key",
        field_type: FieldDataType::UInt32,
        def_number: 2,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(2, field);
    // ID of the activity associated with this leader time
    let field = FieldInfo {
        name: "activity_id",
        field_type: FieldDataType::UInt32,
        def_number: 3,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(3, field);
    // Segment Time (includes pauses)
    let field = FieldInfo {
        name: "segment_time",
        field_type: FieldDataType::UInt32,
        def_number: 4,
        scale: 1000.000000,
        offset: 0.000000,
        units: "s",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(4, field);
    // String version of the activity_id. 21 characters long, express in decimal
    let field = FieldInfo {
        name: "activity_id_string",
        field_type: FieldDataType::String,
        def_number: 5,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(5, 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_leaderboard_entry",
        global_message_number: MesgNum::SegmentLeaderboardEntry,
        fields,
    }
}
/// Unique Identification data for an individual segment leader within a segment file
Unique Identification data for an individual segment leader within a segment file
Unique Identification data for an individual segment leader within a segment file
pub fn segment_leaderboard_entry_message() -> MessageInfo {
    let mut fields = HashMap::new();
    // Friendly name assigned to leader
    let field = FieldInfo {
        name: "name",
        field_type: FieldDataType::String,
        def_number: 0,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(0, field);
    // Leader classification
    let field = FieldInfo {
        name: "type",
        field_type: FieldDataType::SegmentLeaderboardType,
        def_number: 1,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(1, field);
    // Primary user ID of this leader
    let field = FieldInfo {
        name: "group_primary_key",
        field_type: FieldDataType::UInt32,
        def_number: 2,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(2, field);
    // ID of the activity associated with this leader time
    let field = FieldInfo {
        name: "activity_id",
        field_type: FieldDataType::UInt32,
        def_number: 3,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(3, field);
    // Segment Time (includes pauses)
    let field = FieldInfo {
        name: "segment_time",
        field_type: FieldDataType::UInt32,
        def_number: 4,
        scale: 1000.000000,
        offset: 0.000000,
        units: "s",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(4, field);
    // String version of the activity_id. 21 characters long, express in decimal
    let field = FieldInfo {
        name: "activity_id_string",
        field_type: FieldDataType::String,
        def_number: 5,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(5, 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_leaderboard_entry",
        global_message_number: MesgNum::SegmentLeaderboardEntry,
        fields,
    }
}
pub fn segment_leaderboard_entry_message ( ) -> MessageInfo { let mut fields = HashMap :: new ( ) ; // Friendly name assigned to leader let field = FieldInfo { name : " " , field_type : FieldDataType :: String , def_number : 0 , scale : 1.000000 , offset : 0.000000 , units : " " , accumulate : false , subfields : Vec :: new ( ) , components : Vec :: new ( ) , } ; fields . insert ( 0 , field ) ; // Leader classification let field = FieldInfo { name : " " , field_type : FieldDataType :: SegmentLeaderboardType , def_number : 1 , scale : 1.000000 , offset : 0.000000 , units : " " , accumulate : false , subfields : Vec :: new ( ) , components : Vec :: new ( ) , } ; fields . insert ( 1 , field ) ; // Primary user ID of this leader let field = FieldInfo { name : " " , field_type : FieldDataType :: UInt32 , def_number : 2 , scale : 1.000000 , offset : 0.000000 , units : " " , accumulate : false , subfields : Vec :: new ( ) , components : Vec :: new ( ) , } ; fields . insert ( 2 , field ) ; // ID of the activity associated with this leader time let field = FieldInfo { name : " " , field_type : FieldDataType :: UInt32 , def_number : 3 , scale : 1.000000 , offset : 0.000000 , units : " " , accumulate : false , subfields : Vec :: new ( ) , components : Vec :: new ( ) , } ; fields . insert ( 3 , field ) ; // Segment Time (includes pauses) let field = FieldInfo { name : " " , field_type : FieldDataType :: UInt32 , def_number : 4 , scale : 1000.000000 , offset : 0.000000 , units : " " , accumulate : false , subfields : Vec :: new ( ) , components : Vec :: new ( ) , } ; fields . insert ( 4 , field ) ; // String version of the activity_id. 21 characters long, express in decimal let field = FieldInfo { name : " " , field_type : FieldDataType :: String , def_number : 5 , scale : 1.000000 , offset : 0.000000 , units : " " , accumulate : false , subfields : Vec :: new ( ) , components : Vec :: new ( ) , } ; fields . insert ( 5 , 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 :: SegmentLeaderboardEntry , fields , } }
Unique Identification data for an individual segment leader within a segment file
Unique Identification data for an individual segment leader within a segment file