pub struct BookTaxiEvent {
pub cost: u64,
pub destination_system: String,
pub destination_location: String,
pub retreat: bool,
}
Expand description
Fired when the player books a taxi at Apex Interstellar Transport.
Fields§
§cost: u64
The number of credits the player paid for the booking.
destination_system: String
The name of the system where the taxi will travel to.
destination_location: String
The name of the location where the taxi will travel to.
retreat: bool
Whether the booking is considered a retreat.
Trait Implementations§
Source§impl Clone for BookTaxiEvent
impl Clone for BookTaxiEvent
Source§fn clone(&self) -> BookTaxiEvent
fn clone(&self) -> BookTaxiEvent
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 BookTaxiEvent
impl Debug for BookTaxiEvent
Source§impl<'de> Deserialize<'de> for BookTaxiEvent
impl<'de> Deserialize<'de> for BookTaxiEvent
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 BookTaxiEvent
impl PartialEq for BookTaxiEvent
Source§impl Serialize for BookTaxiEvent
impl Serialize for BookTaxiEvent
impl StructuralPartialEq for BookTaxiEvent
Auto Trait Implementations§
impl Freeze for BookTaxiEvent
impl RefUnwindSafe for BookTaxiEvent
impl Send for BookTaxiEvent
impl Sync for BookTaxiEvent
impl Unpin for BookTaxiEvent
impl UnwindSafe for BookTaxiEvent
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