pub struct DockingDeniedEvent {
pub station_name: String,
pub station_type: StationType,
pub market_id: u64,
pub reason: DockingDeniedReason,
}
Expand description
Fired when the player requested docking permission, but was denied.
Fields§
§station_name: String
The name of the station or settlement the player was denied docking for.
station_type: StationType
The kind of station the player wanted to dock at.
market_id: u64
The market id for the station.
reason: DockingDeniedReason
The reason why the player was denied docking access.
Trait Implementations§
Source§impl Clone for DockingDeniedEvent
impl Clone for DockingDeniedEvent
Source§fn clone(&self) -> DockingDeniedEvent
fn clone(&self) -> DockingDeniedEvent
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 DockingDeniedEvent
impl Debug for DockingDeniedEvent
Source§impl<'de> Deserialize<'de> for DockingDeniedEvent
impl<'de> Deserialize<'de> for DockingDeniedEvent
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 DockingDeniedEvent
impl PartialEq for DockingDeniedEvent
Source§impl Serialize for DockingDeniedEvent
impl Serialize for DockingDeniedEvent
impl StructuralPartialEq for DockingDeniedEvent
Auto Trait Implementations§
impl Freeze for DockingDeniedEvent
impl RefUnwindSafe for DockingDeniedEvent
impl Send for DockingDeniedEvent
impl Sync for DockingDeniedEvent
impl Unpin for DockingDeniedEvent
impl UnwindSafe for DockingDeniedEvent
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