pub struct PlayerScoreResponse {
pub beaten_score_time_spans: Option<Vec<String>>,
pub formatted_score: Option<String>,
pub kind: Option<String>,
pub leaderboard_id: Option<String>,
pub score_tag: Option<String>,
pub unbeaten_scores: Option<Vec<PlayerScore>>,
}Expand description
A list of leaderboard entry resources.
§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).
- submit scores (response)
Fields§
§beaten_score_time_spans: Option<Vec<String>>The time spans where the submitted score is better than the existing score for that time span.
formatted_score: Option<String>The formatted value of the submitted score.
kind: Option<String>Uniquely identifies the type of this resource. Value is always the fixed string games#playerScoreResponse.
leaderboard_id: Option<String>The leaderboard ID that this score was submitted to.
score_tag: Option<String>Additional information about this score. Values will contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.
unbeaten_scores: Option<Vec<PlayerScore>>The scores in time spans that have not been beaten. As an example, the submitted score may be better than the player’s DAILY score, but not better than the player’s scores for the WEEKLY or ALL_TIME time spans.
Trait Implementations§
Source§impl Clone for PlayerScoreResponse
impl Clone for PlayerScoreResponse
Source§fn clone(&self) -> PlayerScoreResponse
fn clone(&self) -> PlayerScoreResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more