pub enum DockingDeniedReason {
NoSpace,
TooLarge,
Hostile,
Offences,
Distance,
ActiveFighter,
RestrictedAccess,
NoReason,
Unknown(String),
}
Expand description
The reason why the player was denied docking access.
Variants§
NoSpace
There are currently no landing pads available for the player to land on.
TooLarge
There are (currently) no landing pads available for the player’s ship size.
Hostile
The player is currently considered hostile to the station.
Offences
The player has outstanding offences (like recently acquired fines)
Distance
The player is not within 7.5 km of the station.
ActiveFighter
The player has an active fighter out.
RestrictedAccess
The player does not have docking permissions for the given fleet carrier.
NoReason
The reason was not specified.
Unknown(String)
Available on crate feature
allow-unknown
only.Trait Implementations§
Source§impl Clone for DockingDeniedReason
impl Clone for DockingDeniedReason
Source§fn clone(&self) -> DockingDeniedReason
fn clone(&self) -> DockingDeniedReason
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 DockingDeniedReason
impl Debug for DockingDeniedReason
Source§impl<'de> Deserialize<'de> for DockingDeniedReason
impl<'de> Deserialize<'de> for DockingDeniedReason
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 DockingDeniedReason
impl PartialEq for DockingDeniedReason
Source§impl Serialize for DockingDeniedReason
impl Serialize for DockingDeniedReason
impl StructuralPartialEq for DockingDeniedReason
Auto Trait Implementations§
impl Freeze for DockingDeniedReason
impl RefUnwindSafe for DockingDeniedReason
impl Send for DockingDeniedReason
impl Sync for DockingDeniedReason
impl Unpin for DockingDeniedReason
impl UnwindSafe for DockingDeniedReason
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