pub struct TradeItem {
pub item_id: u64,
pub serial_number: Option<u64>,
pub uaid: u64,
pub name: String,
pub rap: u64,
}
Expand description
The details of an item in a trade. This is separate from other item structs
Fields§
§item_id: u64
§serial_number: Option<u64>
The serial number of the item. Only exists for limited Us.
uaid: u64
The unique asset id of the item. This is the only item with this uaid.
name: String
§rap: u64
The recent average price of the item.
Trait Implementations§
source§impl<'de> Deserialize<'de> for TradeItem
impl<'de> Deserialize<'de> for TradeItem
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 TradeItem
impl Ord for TradeItem
source§impl PartialEq for TradeItem
impl PartialEq for TradeItem
source§impl PartialOrd for TradeItem
impl PartialOrd for TradeItem
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 moreimpl Eq for TradeItem
impl StructuralPartialEq for TradeItem
Auto Trait Implementations§
impl Freeze for TradeItem
impl RefUnwindSafe for TradeItem
impl Send for TradeItem
impl Sync for TradeItem
impl Unpin for TradeItem
impl UnwindSafe for TradeItem
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.