#[repr(u32)]pub enum Quality {
Show 16 variants
    Normal = 0,
    Genuine = 1,
    Rarity2 = 2,
    Vintage = 3,
    Rarity3 = 4,
    Unusual = 5,
    Unique = 6,
    Community = 7,
    Valve = 8,
    SelfMade = 9,
    Customized = 10,
    Strange = 11,
    Completed = 12,
    Haunted = 13,
    Collectors = 14,
    DecoratedWeapon = 15,
}Expand description
Quality.
Variants§
Normal = 0
Genuine = 1
Rarity2 = 2
Vintage = 3
Rarity3 = 4
Unusual = 5
Unique = 6
Community = 7
Valve = 8
SelfMade = 9
Customized = 10
Strange = 11
Completed = 12
Haunted = 13
Collectors = 14
DecoratedWeapon = 15
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Quality
 
impl<'de> Deserialize<'de> for Quality
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 Quality
 
impl Ord for Quality
source§impl PartialEq for Quality
 
impl PartialEq for Quality
source§impl PartialOrd for Quality
 
impl PartialOrd for Quality
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 TryFrom<u32> for Quality
 
impl TryFrom<u32> for Quality
§type Error = TryFromPrimitiveError<Quality>
 
type Error = TryFromPrimitiveError<Quality>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for Quality
 
impl TryFromPrimitive for Quality
impl Copy for Quality
impl Eq for Quality
impl StructuralEq for Quality
impl StructuralPartialEq for Quality
Auto Trait Implementations§
impl RefUnwindSafe for Quality
impl Send for Quality
impl Sync for Quality
impl Unpin for Quality
impl UnwindSafe for Quality
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