Enum screeps_api::endpoints::leaderboard::LeaderboardType
[−]
[src]
pub enum LeaderboardType { GlobalControl, PowerProcessed, // some variants omitted }
Type of leaderboards that are available for each season.
Variants
GlobalControl
Global control point leaderboard.
PowerProcessed
Power processed leaderboard
Methods
impl LeaderboardType
[src]
fn api_representation(&self) -> &'static str
[src]
Gets the representation of this leaderbaord type in the raw API calls.
Mostly for internal use, but if you can find a reason to call this, feel free.
Trait Implementations
impl Copy for LeaderboardType
[src]
impl Clone for LeaderboardType
[src]
fn clone(&self) -> LeaderboardType
[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 Eq for LeaderboardType
[src]
impl PartialEq for LeaderboardType
[src]
fn eq(&self, __arg_0: &LeaderboardType) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Hash for LeaderboardType
[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