[][src]Struct google_games1::PlayerLeaderboardScore

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>,
}

A player leaderboard score object.

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

Fields

write_timestamp: Option<String>

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

kind: Option<String>

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

public_rank: Option<LeaderboardScoreRank>

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

score_tag: Option<String>

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

time_span: Option<String>

The time span of this score.

score_string: Option<String>

The formatted value of this score.

leaderboard_id: Option<String>

The ID of the leaderboard this score is in.

score_value: Option<String>

The numerical value of this score.

social_rank: Option<LeaderboardScoreRank>

The social rank of the score in this leaderboard.

Trait Implementations

impl Clone for PlayerLeaderboardScore[src]

impl Debug for PlayerLeaderboardScore[src]

impl Default for PlayerLeaderboardScore[src]

impl<'de> Deserialize<'de> for PlayerLeaderboardScore[src]

impl Part for PlayerLeaderboardScore[src]

impl Serialize for PlayerLeaderboardScore[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any