pub struct StoredShipEventStorageLocation {
pub star_system: String,
pub ship_market_id: u64,
pub transfer_price: u64,
pub transfer_time: u32,
}
Expand description
Information about the location the ship is currently stored.
Fields§
§star_system: String
The name of the star system the ship is currently located at.
ship_market_id: u64
The market id for the location the ship is currently stored.
transfer_price: u64
The price in credits required to transfer the ship to the player’s current location.
transfer_time: u32
The time it would take to transfer the ship to the player’s current location in seconds.
Trait Implementations§
Source§impl Clone for StoredShipEventStorageLocation
impl Clone for StoredShipEventStorageLocation
Source§fn clone(&self) -> StoredShipEventStorageLocation
fn clone(&self) -> StoredShipEventStorageLocation
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<'de> Deserialize<'de> for StoredShipEventStorageLocation
impl<'de> Deserialize<'de> for StoredShipEventStorageLocation
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 StoredShipEventStorageLocation
impl PartialEq for StoredShipEventStorageLocation
Source§fn eq(&self, other: &StoredShipEventStorageLocation) -> bool
fn eq(&self, other: &StoredShipEventStorageLocation) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for StoredShipEventStorageLocation
Auto Trait Implementations§
impl Freeze for StoredShipEventStorageLocation
impl RefUnwindSafe for StoredShipEventStorageLocation
impl Send for StoredShipEventStorageLocation
impl Sync for StoredShipEventStorageLocation
impl Unpin for StoredShipEventStorageLocation
impl UnwindSafe for StoredShipEventStorageLocation
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