pub struct DisembarkEvent {Show 13 fields
pub id: Option<u32>,
pub star_system: String,
pub system_address: u64,
pub body: String,
pub body_id: u32,
pub on_station: bool,
pub on_planet: bool,
pub station_name: Option<String>,
pub station_type: Option<StationType>,
pub market_id: Option<u64>,
pub srv: bool,
pub taxi: bool,
pub multicrew: bool,
}
Expand description
Fired when the player disembarks from their ship.
Fields§
§id: Option<u32>
Currently unknown that this value means. If you know please let me know by opening an issue.
star_system: String
The name of the star system the player is currently in.
system_address: u64
The address of the current system.
body: String
The name of the body the player is currently on.
body_id: u32
The id of the body player is currently on.
on_station: bool
Whether the player is currently on a station.
on_planet: bool
Whether the player is currently on a planet.
station_name: Option<String>
The name of the station the player is currently on.
station_type: Option<StationType>
The type of the station the player is currently on.
market_id: Option<u64>
The market id of the station the player is currently on.
srv: bool
Whether the player has embarked to an SRV.
taxi: bool
Whether the player has embarked a taxi.
multicrew: bool
Whether the player has embarked multicrew.
Trait Implementations§
Source§impl Clone for DisembarkEvent
impl Clone for DisembarkEvent
Source§fn clone(&self) -> DisembarkEvent
fn clone(&self) -> DisembarkEvent
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 DisembarkEvent
impl Debug for DisembarkEvent
Source§impl<'de> Deserialize<'de> for DisembarkEvent
impl<'de> Deserialize<'de> for DisembarkEvent
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 DisembarkEvent
impl PartialEq for DisembarkEvent
Source§impl Serialize for DisembarkEvent
impl Serialize for DisembarkEvent
impl StructuralPartialEq for DisembarkEvent
Auto Trait Implementations§
impl Freeze for DisembarkEvent
impl RefUnwindSafe for DisembarkEvent
impl Send for DisembarkEvent
impl Sync for DisembarkEvent
impl Unpin for DisembarkEvent
impl UnwindSafe for DisembarkEvent
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