Struct google_games1::PlayerLeaderboardScore [] [src]

pub struct PlayerLeaderboardScore {
    pub write_timestamp: Option<String>,
    pub kind: Option<String>,
    pub public_rank: Option<LeaderboardScoreRank>,
    pub score_tag: Option<String>,
    pub time_span: Option<String>,
    pub score_string: Option<String>,
    pub leaderboard_id: Option<String>,
    pub score_value: Option<String>,
    pub social_rank: Option<LeaderboardScoreRank>,
}

This is a JSON template for a player leaderboard score object.

This type is not used in any activity, and only used as part of another schema.

Fields

The timestamp at which this score was recorded, in milliseconds since the epoch in UTC.

Uniquely identifies the type of this resource. Value is always the fixed string games#playerLeaderboardScore.

The public rank of the score in this leaderboard. This object will not be present if the user is not sharing their scores publicly.

Additional information about the score. Values must contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.

The time span of this score. Possible values are:
- "ALL_TIME" - The score is an all-time score. - "WEEKLY" - The score is a weekly score. - "DAILY" - The score is a daily score.

The formatted value of this score.

The ID of the leaderboard this score is in.

The numerical value of this score.

The social rank of the score in this leaderboard.

Trait Implementations

impl Debug for PlayerLeaderboardScore
[src]

Formats the value using the given formatter.

impl Clone for PlayerLeaderboardScore
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for PlayerLeaderboardScore
[src]

Returns the "default value" for a type. Read more

impl Part for PlayerLeaderboardScore
[src]