Struct google_games1::PlayerScore
[−]
[src]
pub struct PlayerScore { pub kind: Option<String>, pub score: Option<String>, pub formatted_score: Option<String>, pub score_tag: Option<String>, pub time_span: Option<String>, }
This is a JSON template for a player score.
This type is not used in any activity, and only used as part of another schema.
Fields
kind: Option<String>
Uniquely identifies the type of this resource. Value is always the fixed string games#playerScore.
score: Option<String>
The numerical value for this player score.
formatted_score: Option<String>
The formatted score for this player score.
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.
time_span: Option<String>
The time span for this player 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.
Trait Implementations
impl Debug for PlayerScore
[src]
impl Clone for PlayerScore
[src]
fn clone(&self) -> PlayerScore
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for PlayerScore
[src]
fn default() -> PlayerScore
Returns the "default value" for a type. Read more