Struct google_games1::api::LeaderboardScoreRank
source · pub struct LeaderboardScoreRank {
pub formatted_num_scores: Option<String>,
pub formatted_rank: Option<String>,
pub kind: Option<String>,
pub num_scores: Option<i64>,
pub rank: Option<i64>,
}
Expand description
A score rank in a leaderboard.
This type is not used in any activity, and only used as part of another schema.
Fields§
§formatted_num_scores: Option<String>
The number of scores in the leaderboard as a string.
formatted_rank: Option<String>
The rank in the leaderboard as a string.
kind: Option<String>
Uniquely identifies the type of this resource. Value is always the fixed string games#leaderboardScoreRank
.
num_scores: Option<i64>
The number of scores in the leaderboard.
rank: Option<i64>
The rank in the leaderboard.
Trait Implementations§
source§impl Clone for LeaderboardScoreRank
impl Clone for LeaderboardScoreRank
source§fn clone(&self) -> LeaderboardScoreRank
fn clone(&self) -> LeaderboardScoreRank
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LeaderboardScoreRank
impl Debug for LeaderboardScoreRank
source§impl Default for LeaderboardScoreRank
impl Default for LeaderboardScoreRank
source§fn default() -> LeaderboardScoreRank
fn default() -> LeaderboardScoreRank
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LeaderboardScoreRank
impl<'de> Deserialize<'de> for LeaderboardScoreRank
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for LeaderboardScoreRank
impl Serialize for LeaderboardScoreRank
impl Part for LeaderboardScoreRank
Auto Trait Implementations§
impl RefUnwindSafe for LeaderboardScoreRank
impl Send for LeaderboardScoreRank
impl Sync for LeaderboardScoreRank
impl Unpin for LeaderboardScoreRank
impl UnwindSafe for LeaderboardScoreRank
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more