pub struct StoredShipEventRemoteShip {
pub ship_id: u64,
pub ship_type: ShipType,
pub ship_type_localized: Option<String>,
pub name: Option<String>,
pub in_transit: bool,
pub storage_location: Option<StoredShipEventStorageLocation>,
pub value: u64,
pub hot: bool,
}
Expand description
Entry for a remotely stored ship.
Fields§
§ship_id: u64
The id of the ship that is stored remotely.
ship_type: ShipType
The ship type of the remotely stored ship.
ship_type_localized: Option<String>
The localized ship type of the remotely stored ship.
name: Option<String>
The custom name of the remotely stored ship. Unlike how StoredShipEventLocalShip works, if the ship does not have a custom name is an empty string.
in_transit: bool
Whether the ship is currently being transferred between locations.
storage_location: Option<StoredShipEventStorageLocation>
The current storage location. None
the ship is currently being transferred between
locations.
value: u64
The total value of the ship.
hot: bool
Whether the ship is wanted.
Trait Implementations§
Source§impl Clone for StoredShipEventRemoteShip
impl Clone for StoredShipEventRemoteShip
Source§fn clone(&self) -> StoredShipEventRemoteShip
fn clone(&self) -> StoredShipEventRemoteShip
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 StoredShipEventRemoteShip
impl Debug for StoredShipEventRemoteShip
Source§impl<'de> Deserialize<'de> for StoredShipEventRemoteShip
impl<'de> Deserialize<'de> for StoredShipEventRemoteShip
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
impl StructuralPartialEq for StoredShipEventRemoteShip
Auto Trait Implementations§
impl Freeze for StoredShipEventRemoteShip
impl RefUnwindSafe for StoredShipEventRemoteShip
impl Send for StoredShipEventRemoteShip
impl Sync for StoredShipEventRemoteShip
impl Unpin for StoredShipEventRemoteShip
impl UnwindSafe for StoredShipEventRemoteShip
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