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