pub struct BuyMicroResourceEventSingle {
pub name: Item,
pub name_localized: Option<String>,
pub category: ItemCategory,
pub count: u16,
pub price: u64,
pub market_id: u64,
}
Expand description
When making a single trade.
Fields§
§name: Item
The item that was bought.
name_localized: Option<String>
The localized name of the item that was bought.
category: ItemCategory
The category of the item bought.
count: u16
The number of items that were bought.
price: u64
The number of credits that was paid.
market_id: u64
The market id the purchase was made at.
Trait Implementations§
Source§impl Clone for BuyMicroResourceEventSingle
impl Clone for BuyMicroResourceEventSingle
Source§fn clone(&self) -> BuyMicroResourceEventSingle
fn clone(&self) -> BuyMicroResourceEventSingle
Returns a copy 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 BuyMicroResourceEventSingle
impl Debug for BuyMicroResourceEventSingle
Source§impl<'de> Deserialize<'de> for BuyMicroResourceEventSingle
impl<'de> Deserialize<'de> for BuyMicroResourceEventSingle
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
impl StructuralPartialEq for BuyMicroResourceEventSingle
Auto Trait Implementations§
impl Freeze for BuyMicroResourceEventSingle
impl RefUnwindSafe for BuyMicroResourceEventSingle
impl Send for BuyMicroResourceEventSingle
impl Sync for BuyMicroResourceEventSingle
impl Unpin for BuyMicroResourceEventSingle
impl UnwindSafe for BuyMicroResourceEventSingle
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