Struct screeps_api::endpoints::leaderboard::find_rank::FoundUserRank
[−]
[src]
pub struct FoundUserRank { pub season_id: String, pub user_id: String, pub rank: u32, pub raw_score: u64, // some fields omitted }
Result from a lookup for a user's rank on the leaderboard.
Fields
season_id: String
The season ID which this rank is for
user_id: String
The user's ID
rank: u32
The user's rank in this season for the requested leaderboard type
The top user's rank is 0, so add one to this digit if displaying to a user.
raw_score: u64
The user's raw score for this season for the requested leaderboard type.
Trait Implementations
impl Clone for FoundUserRank
[src]
fn clone(&self) -> FoundUserRank
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Hash for FoundUserRank
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more