pub struct LeaveBodyEvent {
pub star_system: String,
pub system_address: u64,
pub body: String,
pub body_id: u8,
}
Expand description
Fired when the player leaves a body.
Fields§
§star_system: String
The name of the system the body is located in.
system_address: u64
The address of the system the body is located in.
body: String
The name of the body left.
body_id: u8
The id of the body.
Trait Implementations§
Source§impl Clone for LeaveBodyEvent
impl Clone for LeaveBodyEvent
Source§fn clone(&self) -> LeaveBodyEvent
fn clone(&self) -> LeaveBodyEvent
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 LeaveBodyEvent
impl Debug for LeaveBodyEvent
Source§impl<'de> Deserialize<'de> for LeaveBodyEvent
impl<'de> Deserialize<'de> for LeaveBodyEvent
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 LeaveBodyEvent
impl PartialEq for LeaveBodyEvent
Source§impl Serialize for LeaveBodyEvent
impl Serialize for LeaveBodyEvent
impl StructuralPartialEq for LeaveBodyEvent
Auto Trait Implementations§
impl Freeze for LeaveBodyEvent
impl RefUnwindSafe for LeaveBodyEvent
impl Send for LeaveBodyEvent
impl Sync for LeaveBodyEvent
impl Unpin for LeaveBodyEvent
impl UnwindSafe for LeaveBodyEvent
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