pub struct BuyTradeDateEvent {
pub system: String,
pub cost: u64,
}
Expand description
Fired when the player buys trading data for a specific system.
Fields§
§system: String
The name of the system the player bought trading data for.
cost: u64
The cost in credits the player paid.
Trait Implementations§
Source§impl Clone for BuyTradeDateEvent
impl Clone for BuyTradeDateEvent
Source§fn clone(&self) -> BuyTradeDateEvent
fn clone(&self) -> BuyTradeDateEvent
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 BuyTradeDateEvent
impl Debug for BuyTradeDateEvent
Source§impl<'de> Deserialize<'de> for BuyTradeDateEvent
impl<'de> Deserialize<'de> for BuyTradeDateEvent
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 BuyTradeDateEvent
impl PartialEq for BuyTradeDateEvent
Source§impl Serialize for BuyTradeDateEvent
impl Serialize for BuyTradeDateEvent
impl StructuralPartialEq for BuyTradeDateEvent
Auto Trait Implementations§
impl Freeze for BuyTradeDateEvent
impl RefUnwindSafe for BuyTradeDateEvent
impl Send for BuyTradeDateEvent
impl Sync for BuyTradeDateEvent
impl Unpin for BuyTradeDateEvent
impl UnwindSafe for BuyTradeDateEvent
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