pub struct CarrierNameChangeEvent {
pub carrier_id: u64,
pub callsign: String,
pub name: String,
}
Expand description
Fired when the owner changes their fleet carrier’s name.
Fields§
§carrier_id: u64
The id of the carrier that the player deposited fuel to. This is functionally the same as the market id.
callsign: String
The callsign of the fleet carrier. This cannot be changed by the commander.
name: String
The new name of the fleet carrier.
Trait Implementations§
Source§impl Clone for CarrierNameChangeEvent
impl Clone for CarrierNameChangeEvent
Source§fn clone(&self) -> CarrierNameChangeEvent
fn clone(&self) -> CarrierNameChangeEvent
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 CarrierNameChangeEvent
impl Debug for CarrierNameChangeEvent
Source§impl<'de> Deserialize<'de> for CarrierNameChangeEvent
impl<'de> Deserialize<'de> for CarrierNameChangeEvent
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 CarrierNameChangeEvent
impl PartialEq for CarrierNameChangeEvent
Source§impl Serialize for CarrierNameChangeEvent
impl Serialize for CarrierNameChangeEvent
impl StructuralPartialEq for CarrierNameChangeEvent
Auto Trait Implementations§
impl Freeze for CarrierNameChangeEvent
impl RefUnwindSafe for CarrierNameChangeEvent
impl Send for CarrierNameChangeEvent
impl Sync for CarrierNameChangeEvent
impl Unpin for CarrierNameChangeEvent
impl UnwindSafe for CarrierNameChangeEvent
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