pub struct CarrierDepositFuelEvent {
pub carrier_id: u64,
pub amount: u16,
pub total: u16,
}
Expand description
Fired when the player deposits tritium to the given carrier.
Fields§
§carrier_id: u64
The id of the carrier that the player deposited fuel to. This is functionally the same as the market id.
amount: u16
The number of tonnes of tritium the player deposited to the carrier.
total: u16
The total amount of tritium the carrier has in its tank after the deposit.
Trait Implementations§
Source§impl Clone for CarrierDepositFuelEvent
impl Clone for CarrierDepositFuelEvent
Source§fn clone(&self) -> CarrierDepositFuelEvent
fn clone(&self) -> CarrierDepositFuelEvent
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 CarrierDepositFuelEvent
impl Debug for CarrierDepositFuelEvent
Source§impl<'de> Deserialize<'de> for CarrierDepositFuelEvent
impl<'de> Deserialize<'de> for CarrierDepositFuelEvent
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 CarrierDepositFuelEvent
impl PartialEq for CarrierDepositFuelEvent
Source§impl Serialize for CarrierDepositFuelEvent
impl Serialize for CarrierDepositFuelEvent
impl StructuralPartialEq for CarrierDepositFuelEvent
Auto Trait Implementations§
impl Freeze for CarrierDepositFuelEvent
impl RefUnwindSafe for CarrierDepositFuelEvent
impl Send for CarrierDepositFuelEvent
impl Sync for CarrierDepositFuelEvent
impl Unpin for CarrierDepositFuelEvent
impl UnwindSafe for CarrierDepositFuelEvent
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