pub struct CarrierFinanceEvent {
pub carrier_id: u64,
pub finance: CarrierFinance,
}
Expand description
Fired when there is any update related to the carrier’s finances.
Fields§
§carrier_id: u64
The id of the carrier that the player deposited fuel to. This is functionally the same as the market id.
finance: CarrierFinance
Financial details for a given fleet carrier.
Trait Implementations§
Source§impl Clone for CarrierFinanceEvent
impl Clone for CarrierFinanceEvent
Source§fn clone(&self) -> CarrierFinanceEvent
fn clone(&self) -> CarrierFinanceEvent
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 CarrierFinanceEvent
impl Debug for CarrierFinanceEvent
Source§impl<'de> Deserialize<'de> for CarrierFinanceEvent
impl<'de> Deserialize<'de> for CarrierFinanceEvent
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 CarrierFinanceEvent
impl PartialEq for CarrierFinanceEvent
Source§impl Serialize for CarrierFinanceEvent
impl Serialize for CarrierFinanceEvent
impl StructuralPartialEq for CarrierFinanceEvent
Auto Trait Implementations§
impl Freeze for CarrierFinanceEvent
impl RefUnwindSafe for CarrierFinanceEvent
impl Send for CarrierFinanceEvent
impl Sync for CarrierFinanceEvent
impl Unpin for CarrierFinanceEvent
impl UnwindSafe for CarrierFinanceEvent
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