pub struct Item {Show 13 fields
pub id: ItemId,
pub chat_link: String,
pub name: String,
pub icon: Option<String>,
pub description: Option<String>,
pub rarity: Rarity,
pub level: u8,
pub vendor_value: u64,
pub default_skin: Option<SkinId>,
pub flags: BTreeSet<Flags>,
pub game_types: BTreeSet<GameTypes>,
pub restrictions: BTreeSet<Restrictions>,
pub details: Details,
}
Fields§
§id: ItemId
§chat_link: String
§name: String
§icon: Option<String>
§description: Option<String>
§rarity: Rarity
§level: u8
§vendor_value: u64
§default_skin: Option<SkinId>
§flags: BTreeSet<Flags>
§game_types: BTreeSet<GameTypes>
§restrictions: BTreeSet<Restrictions>
§details: Details
Trait Implementations§
Source§impl BulkEndpoint for Item
impl BulkEndpoint for Item
Source§impl<'de> Deserialize<'de> for Item
impl<'de> Deserialize<'de> for Item
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 Endpoint for Item
impl Endpoint for Item
Source§const AUTHENTICATED: bool = false
const AUTHENTICATED: bool = false
whether this endpoint requires authentication
Source§impl EndpointWithId for Item
impl EndpointWithId for Item
Source§impl PartialOrd for Item
impl PartialOrd for Item
impl StructuralPartialEq for Item
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnwindSafe for Item
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more