pub struct AssetClassInfo {Show 14 fields
pub appid: i32,
pub classid: u64,
pub instanceid: u64,
pub name: String,
pub market_hash_name: Option<String>,
pub market_name: Option<String>,
pub name_color: Option<String>,
pub background_color: Option<String>,
pub item_type: Option<String>,
pub icon_url: Option<String>,
pub icon_url_large: Option<String>,
pub tradable: bool,
pub marketable: bool,
pub commodity: bool,
}Expand description
Asset class information for an item.
Fields§
§appid: i32App ID
classid: u64Class ID
instanceid: u64Instance ID
name: StringDisplay name
market_hash_name: Option<String>Market hash name for trading
market_name: Option<String>Market display name
name_color: Option<String>Name color (hex)
background_color: Option<String>Background color (hex)
item_type: Option<String>Item type description
icon_url: Option<String>Icon URL (append to Steam CDN base URL)
icon_url_large: Option<String>Large icon URL
tradable: boolIs item tradable
marketable: boolIs item marketable
commodity: boolIs item a commodity (stackable on market)
Trait Implementations§
Source§impl Clone for AssetClassInfo
impl Clone for AssetClassInfo
Source§fn clone(&self) -> AssetClassInfo
fn clone(&self) -> AssetClassInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AssetClassInfo
impl RefUnwindSafe for AssetClassInfo
impl Send for AssetClassInfo
impl Sync for AssetClassInfo
impl Unpin for AssetClassInfo
impl UnsafeUnpin for AssetClassInfo
impl UnwindSafe for AssetClassInfo
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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