pub struct StoredShipEventLocalShip {
pub ship_id: u64,
pub ship_type: ShipType,
pub ship_type_localized: Option<String>,
pub name: Option<String>,
pub value: u64,
pub hot: bool,
}
Expand description
Entry for a locally stored ship.
Fields§
§ship_id: u64
The id of the stored ship.
ship_type: ShipType
The ship type of the stored ship.
ship_type_localized: Option<String>
The localized ship type of the stored ship.
name: Option<String>
The custom name for the ship, if any.
value: u64
The value if the ship configuration in credits.
hot: bool
Whether the ship is wanted.
Trait Implementations§
Source§impl Clone for StoredShipEventLocalShip
impl Clone for StoredShipEventLocalShip
Source§fn clone(&self) -> StoredShipEventLocalShip
fn clone(&self) -> StoredShipEventLocalShip
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 StoredShipEventLocalShip
impl Debug for StoredShipEventLocalShip
Source§impl<'de> Deserialize<'de> for StoredShipEventLocalShip
impl<'de> Deserialize<'de> for StoredShipEventLocalShip
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 StoredShipEventLocalShip
impl PartialEq for StoredShipEventLocalShip
Source§impl Serialize for StoredShipEventLocalShip
impl Serialize for StoredShipEventLocalShip
impl StructuralPartialEq for StoredShipEventLocalShip
Auto Trait Implementations§
impl Freeze for StoredShipEventLocalShip
impl RefUnwindSafe for StoredShipEventLocalShip
impl Send for StoredShipEventLocalShip
impl Sync for StoredShipEventLocalShip
impl Unpin for StoredShipEventLocalShip
impl UnwindSafe for StoredShipEventLocalShip
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