pub struct DockingRequestedEvent {
pub station_name: String,
pub station_type: StationType,
pub market_id: u64,
pub landing_pads: Option<DockingRequestedEventLandingPads>,
}
Expand description
Fired when the player has successfully required permission to dock to a given station.
Fields§
§station_name: String
The name of the station the player wants to dock at.
station_type: StationType
The kind of station the player wants to dock at.
market_id: u64
The market id of the station.
landing_pads: Option<DockingRequestedEventLandingPads>
The number of available landing pads at the given station.
Trait Implementations§
Source§impl Clone for DockingRequestedEvent
impl Clone for DockingRequestedEvent
Source§fn clone(&self) -> DockingRequestedEvent
fn clone(&self) -> DockingRequestedEvent
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 DockingRequestedEvent
impl Debug for DockingRequestedEvent
Source§impl<'de> Deserialize<'de> for DockingRequestedEvent
impl<'de> Deserialize<'de> for DockingRequestedEvent
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 DockingRequestedEvent
impl PartialEq for DockingRequestedEvent
Source§impl Serialize for DockingRequestedEvent
impl Serialize for DockingRequestedEvent
impl StructuralPartialEq for DockingRequestedEvent
Auto Trait Implementations§
impl Freeze for DockingRequestedEvent
impl RefUnwindSafe for DockingRequestedEvent
impl Send for DockingRequestedEvent
impl Sync for DockingRequestedEvent
impl Unpin for DockingRequestedEvent
impl UnwindSafe for DockingRequestedEvent
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