pub struct CarrierBuyEvent {
pub carrier_id: u64,
pub bought_at_market: u64,
pub location: String,
pub system_address: u64,
pub price: u64,
pub variant: String,
pub callsign: String,
}
Expand description
Fired when the player buys a new fleet carrier.
Fields§
§carrier_id: u64
The id of the fleet carrier bought. This is functionally the same as the market id.
bought_at_market: u64
The ID of the market at which the carrier has been bought.
location: String
The system name where the fleet carrier has been parked.
system_address: u64
The system address where the fleet carrier has been parked.
price: u64
The price paid for the carrier. This should basically always be 5 billion.
variant: String
§callsign: String
The call-sign or ‘station name’ of the carrier. This is unique to this specific carrier and cannot be changed at a later date.
Trait Implementations§
Source§impl Clone for CarrierBuyEvent
impl Clone for CarrierBuyEvent
Source§fn clone(&self) -> CarrierBuyEvent
fn clone(&self) -> CarrierBuyEvent
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 CarrierBuyEvent
impl Debug for CarrierBuyEvent
Source§impl<'de> Deserialize<'de> for CarrierBuyEvent
impl<'de> Deserialize<'de> for CarrierBuyEvent
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 CarrierBuyEvent
impl PartialEq for CarrierBuyEvent
Source§impl Serialize for CarrierBuyEvent
impl Serialize for CarrierBuyEvent
impl StructuralPartialEq for CarrierBuyEvent
Auto Trait Implementations§
impl Freeze for CarrierBuyEvent
impl RefUnwindSafe for CarrierBuyEvent
impl Send for CarrierBuyEvent
impl Sync for CarrierBuyEvent
impl Unpin for CarrierBuyEvent
impl UnwindSafe for CarrierBuyEvent
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