#[repr(u32)]pub enum KillstreakTier {
Killstreak = 1,
Specialized = 2,
Professional = 3,
}
Expand description
Killstreak tier.
Variants§
Trait Implementations§
Source§impl Attribute for KillstreakTier
impl Attribute for KillstreakTier
Source§const ATTRIBUTE: AttributeDef
const ATTRIBUTE: AttributeDef
Represents the “killstreak_tier” attribute.
Source§fn attribute_float_value(&self) -> Option<f32>
fn attribute_float_value(&self) -> Option<f32>
Gets the attribute float value.
Source§const USES_FLOAT_VALUE: bool = true
const USES_FLOAT_VALUE: bool = true
Not part of the schema. Read more
Source§fn attribute_value(&self) -> AttributeValue
fn attribute_value(&self) -> AttributeValue
Gets the attribute value.
Source§impl Clone for KillstreakTier
impl Clone for KillstreakTier
Source§fn clone(&self) -> KillstreakTier
fn clone(&self) -> KillstreakTier
Returns a duplicate 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 KillstreakTier
impl Debug for KillstreakTier
Source§impl<'de> Deserialize<'de> for KillstreakTier
impl<'de> Deserialize<'de> for KillstreakTier
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 Display for KillstreakTier
impl Display for KillstreakTier
Source§impl From<KillstreakTier> for ItemAttribute
impl From<KillstreakTier> for ItemAttribute
Source§fn from(val: KillstreakTier) -> Self
fn from(val: KillstreakTier) -> Self
Converts to this type from the input type.
Source§impl From<KillstreakTier> for u32
impl From<KillstreakTier> for u32
Source§fn from(enum_value: KillstreakTier) -> Self
fn from(enum_value: KillstreakTier) -> Self
Converts to this type from the input type.
Source§impl FromStr for KillstreakTier
impl FromStr for KillstreakTier
Source§impl Hash for KillstreakTier
impl Hash for KillstreakTier
Source§impl IntoEnumIterator for KillstreakTier
impl IntoEnumIterator for KillstreakTier
Source§impl Ord for KillstreakTier
impl Ord for KillstreakTier
Source§fn cmp(&self, other: &KillstreakTier) -> Ordering
fn cmp(&self, other: &KillstreakTier) -> 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 KillstreakTier
impl PartialEq for KillstreakTier
Source§impl PartialOrd for KillstreakTier
impl PartialOrd for KillstreakTier
Source§impl Serialize for KillstreakTier
impl Serialize for KillstreakTier
Source§impl TryFrom<&str> for KillstreakTier
impl TryFrom<&str> for KillstreakTier
Source§impl TryFrom<u32> for KillstreakTier
impl TryFrom<u32> for KillstreakTier
Source§type Error = TryFromPrimitiveError<KillstreakTier>
type Error = TryFromPrimitiveError<KillstreakTier>
The type returned in the event of a conversion error.
Source§impl TryFromIntAttributeValue for KillstreakTier
impl TryFromIntAttributeValue for KillstreakTier
Source§fn try_from_attribute_value(v: AttributeValue) -> Option<Self>
fn try_from_attribute_value(v: AttributeValue) -> Option<Self>
Attempts conversion from an attribute value.
Source§fn try_from_attribute_float_value(v: f32) -> Option<Self>
fn try_from_attribute_float_value(v: f32) -> Option<Self>
Attempts conversion from an attribute float value.
Source§impl TryFromPrimitive for KillstreakTier
impl TryFromPrimitive for KillstreakTier
const NAME: &'static str = "KillstreakTier"
type Primitive = u32
type Error = TryFromPrimitiveError<KillstreakTier>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for KillstreakTier
impl Eq for KillstreakTier
impl StructuralPartialEq for KillstreakTier
Auto Trait Implementations§
impl Freeze for KillstreakTier
impl RefUnwindSafe for KillstreakTier
impl Send for KillstreakTier
impl Sync for KillstreakTier
impl Unpin for KillstreakTier
impl UnwindSafe for KillstreakTier
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