pub struct DockingGrantedEvent {
pub station_name: String,
pub station_type: StationType,
pub market_id: u64,
pub landing_pad: u8,
}
Expand description
Fired when the player has been given permission to dock at a given station.
Fields§
§station_name: String
The station the player has been given permission to dock at.
station_type: StationType
The kind of station the player is docking at.
market_id: u64
The market id of the station.
landing_pad: u8
The landing pad the player has to dock at.
Trait Implementations§
Source§impl Clone for DockingGrantedEvent
impl Clone for DockingGrantedEvent
Source§fn clone(&self) -> DockingGrantedEvent
fn clone(&self) -> DockingGrantedEvent
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 DockingGrantedEvent
impl Debug for DockingGrantedEvent
Source§impl<'de> Deserialize<'de> for DockingGrantedEvent
impl<'de> Deserialize<'de> for DockingGrantedEvent
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 DockingGrantedEvent
impl PartialEq for DockingGrantedEvent
Source§impl Serialize for DockingGrantedEvent
impl Serialize for DockingGrantedEvent
impl StructuralPartialEq for DockingGrantedEvent
Auto Trait Implementations§
impl Freeze for DockingGrantedEvent
impl RefUnwindSafe for DockingGrantedEvent
impl Send for DockingGrantedEvent
impl Sync for DockingGrantedEvent
impl Unpin for DockingGrantedEvent
impl UnwindSafe for DockingGrantedEvent
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