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

The season ID which this rank is for

The user's ID

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.

The user's raw score for this season for the requested leaderboard type.

Trait Implementations

impl Clone for FoundUserRank
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Hash for FoundUserRank
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for FoundUserRank
[src]

[src]

Formats the value using the given formatter.