pub struct CarrierDockingPermissionEvent {
pub carrier_id: u64,
pub docking_access: CarrierDockingAccess,
pub allow_notorious: bool,
}
Expand description
Fired when the fleet carrier owner changes the docking permissions for their fleet 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.
docking_access: CarrierDockingAccess
The new docking access for the given carrier.
allow_notorious: bool
Whether the carrier allows notorious commanders to dock.
Trait Implementations§
Source§impl Clone for CarrierDockingPermissionEvent
impl Clone for CarrierDockingPermissionEvent
Source§fn clone(&self) -> CarrierDockingPermissionEvent
fn clone(&self) -> CarrierDockingPermissionEvent
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<'de> Deserialize<'de> for CarrierDockingPermissionEvent
impl<'de> Deserialize<'de> for CarrierDockingPermissionEvent
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 CarrierDockingPermissionEvent
impl PartialEq for CarrierDockingPermissionEvent
Source§fn eq(&self, other: &CarrierDockingPermissionEvent) -> bool
fn eq(&self, other: &CarrierDockingPermissionEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CarrierDockingPermissionEvent
Auto Trait Implementations§
impl Freeze for CarrierDockingPermissionEvent
impl RefUnwindSafe for CarrierDockingPermissionEvent
impl Send for CarrierDockingPermissionEvent
impl Sync for CarrierDockingPermissionEvent
impl Unpin for CarrierDockingPermissionEvent
impl UnwindSafe for CarrierDockingPermissionEvent
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