Struct google_games1::LeaderboardScores[][src]

pub struct LeaderboardScores {
    pub next_page_token: Option<String>,
    pub kind: Option<String>,
    pub prev_page_token: Option<String>,
    pub num_scores: Option<String>,
    pub items: Option<Vec<LeaderboardEntry>>,
    pub player_score: Option<LeaderboardEntry>,
}

This is a JSON template for a ListScores response.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

The pagination token for the next page of results.

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

The pagination token for the previous page of results.

The total number of scores in the leaderboard.

The scores in the leaderboard.

The score of the requesting player on the leaderboard. The player's score may appear both here and in the list of scores above. If you are viewing a public leaderboard and the player is not sharing their gameplay information publicly, the scoreRank and formattedScoreRank values will not be present.

Trait Implementations

impl Default for LeaderboardScores
[src]

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

impl Clone for LeaderboardScores
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LeaderboardScores
[src]

Formats the value using the given formatter. Read more

impl ResponseResult for LeaderboardScores
[src]

Auto Trait Implementations