pub struct BuyMicroResourceEventMultiple {
pub total_count: u16,
pub micro_resources: Vec<BuyMicroResourceEventResource>,
pub price: u64,
pub market_id: u64,
}
Expand description
When making multiple trades at once.
Fields§
§total_count: u16
The total amount of resources traded.
micro_resources: Vec<BuyMicroResourceEventResource>
List of resources that were bought.
price: u64
The total number of credits that was paid.
market_id: u64
The market id the purchase was made at.
Trait Implementations§
Source§impl Clone for BuyMicroResourceEventMultiple
impl Clone for BuyMicroResourceEventMultiple
Source§fn clone(&self) -> BuyMicroResourceEventMultiple
fn clone(&self) -> BuyMicroResourceEventMultiple
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<'de> Deserialize<'de> for BuyMicroResourceEventMultiple
impl<'de> Deserialize<'de> for BuyMicroResourceEventMultiple
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 PartialEq for BuyMicroResourceEventMultiple
impl PartialEq for BuyMicroResourceEventMultiple
Source§fn eq(&self, other: &BuyMicroResourceEventMultiple) -> bool
fn eq(&self, other: &BuyMicroResourceEventMultiple) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for BuyMicroResourceEventMultiple
Auto Trait Implementations§
impl Freeze for BuyMicroResourceEventMultiple
impl RefUnwindSafe for BuyMicroResourceEventMultiple
impl Send for BuyMicroResourceEventMultiple
impl Sync for BuyMicroResourceEventMultiple
impl Unpin for BuyMicroResourceEventMultiple
impl UnwindSafe for BuyMicroResourceEventMultiple
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