pub struct MaterialTradeEvent {
pub market_id: u64,
pub trader_type: MaterialCategory,
pub paid: MaterialTradeEventExchange,
pub received: MaterialTradeEventExchange,
}
Expand description
Fired when the player trades engineering materials at a material trader.
Fields§
§market_id: u64
The id of the market where the player has trades materials.
trader_type: MaterialCategory
The kind of material trader where the transaction has taken place.
paid: MaterialTradeEventExchange
The materials that were paid.
received: MaterialTradeEventExchange
The materials received.
Trait Implementations§
Source§impl Clone for MaterialTradeEvent
impl Clone for MaterialTradeEvent
Source§fn clone(&self) -> MaterialTradeEvent
fn clone(&self) -> MaterialTradeEvent
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 MaterialTradeEvent
impl Debug for MaterialTradeEvent
Source§impl<'de> Deserialize<'de> for MaterialTradeEvent
impl<'de> Deserialize<'de> for MaterialTradeEvent
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 MaterialTradeEvent
impl PartialEq for MaterialTradeEvent
Source§impl Serialize for MaterialTradeEvent
impl Serialize for MaterialTradeEvent
impl StructuralPartialEq for MaterialTradeEvent
Auto Trait Implementations§
impl Freeze for MaterialTradeEvent
impl RefUnwindSafe for MaterialTradeEvent
impl Send for MaterialTradeEvent
impl Sync for MaterialTradeEvent
impl Unpin for MaterialTradeEvent
impl UnwindSafe for MaterialTradeEvent
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