Enum coc_rs::labels::PlayerLabelKind
source · #[repr(i32)]pub enum PlayerLabelKind {
Show 19 variants
ClanWars = 57_000_000,
ClanWarLeague = 57_000_001,
TrophyPushing = 57_000_002,
FriendlyWars = 57_000_003,
ClanGames = 57_000_004,
BuilderBase = 57_000_005,
BaseDesigning = 57_000_006,
Farming = 57_000_007,
ActiveDonator = 57_000_008,
ActiveDaily = 57_000_009,
HungryLearner = 57_000_010,
Friendly = 57_000_011,
Talkative = 57_000_012,
Teacher = 57_000_013,
Competitive = 57_000_014,
Veteran = 57_000_015,
Newbie = 57_000_016,
AmateurAttacker = 57_000_017,
ClanCapital = 57_000_018,
}
Variants§
ClanWars = 57_000_000
ClanWarLeague = 57_000_001
TrophyPushing = 57_000_002
FriendlyWars = 57_000_003
ClanGames = 57_000_004
BuilderBase = 57_000_005
BaseDesigning = 57_000_006
Farming = 57_000_007
ActiveDonator = 57_000_008
ActiveDaily = 57_000_009
HungryLearner = 57_000_010
Friendly = 57_000_011
Talkative = 57_000_012
Teacher = 57_000_013
Competitive = 57_000_014
Veteran = 57_000_015
Newbie = 57_000_016
AmateurAttacker = 57_000_017
ClanCapital = 57_000_018
Trait Implementations§
source§impl Clone for PlayerLabelKind
impl Clone for PlayerLabelKind
source§fn clone(&self) -> PlayerLabelKind
fn clone(&self) -> PlayerLabelKind
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 PlayerLabelKind
impl Debug for PlayerLabelKind
source§impl<'de> Deserialize<'de> for PlayerLabelKind
impl<'de> Deserialize<'de> for PlayerLabelKind
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 Ord for PlayerLabelKind
impl Ord for PlayerLabelKind
source§fn cmp(&self, other: &PlayerLabelKind) -> Ordering
fn cmp(&self, other: &PlayerLabelKind) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PlayerLabelKind
impl PartialEq for PlayerLabelKind
source§fn eq(&self, other: &PlayerLabelKind) -> bool
fn eq(&self, other: &PlayerLabelKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PlayerLabelKind
impl PartialOrd for PlayerLabelKind
source§fn partial_cmp(&self, other: &PlayerLabelKind) -> Option<Ordering>
fn partial_cmp(&self, other: &PlayerLabelKind) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for PlayerLabelKind
impl Serialize for PlayerLabelKind
impl Copy for PlayerLabelKind
impl Eq for PlayerLabelKind
impl StructuralPartialEq for PlayerLabelKind
Auto Trait Implementations§
impl RefUnwindSafe for PlayerLabelKind
impl Send for PlayerLabelKind
impl Sync for PlayerLabelKind
impl Unpin for PlayerLabelKind
impl UnwindSafe for PlayerLabelKind
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.