pub struct StoredShipsEvent {
pub station_name: String,
pub market_id: u64,
pub star_system: String,
pub ships_here: Vec<StoredShipEventLocalShip>,
pub ships_remote: Vec<StoredShipEventRemoteShip>,
}
Expand description
Fired for locations that have stored ships for the player.
Fields§
§station_name: String
The name of the current station the ships are stored at.
market_id: u64
The market id of the locations where the ships are stored.
star_system: String
The name of the star system where the ships are stored.
ships_here: Vec<StoredShipEventLocalShip>
List of ships that are stored at the current location.
ships_remote: Vec<StoredShipEventRemoteShip>
List of ships that are stored at locations other than the current one.
Trait Implementations§
Source§impl Clone for StoredShipsEvent
impl Clone for StoredShipsEvent
Source§fn clone(&self) -> StoredShipsEvent
fn clone(&self) -> StoredShipsEvent
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 StoredShipsEvent
impl Debug for StoredShipsEvent
Source§impl<'de> Deserialize<'de> for StoredShipsEvent
impl<'de> Deserialize<'de> for StoredShipsEvent
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 StoredShipsEvent
impl PartialEq for StoredShipsEvent
Source§impl Serialize for StoredShipsEvent
impl Serialize for StoredShipsEvent
impl StructuralPartialEq for StoredShipsEvent
Auto Trait Implementations§
impl Freeze for StoredShipsEvent
impl RefUnwindSafe for StoredShipsEvent
impl Send for StoredShipsEvent
impl Sync for StoredShipsEvent
impl Unpin for StoredShipsEvent
impl UnwindSafe for StoredShipsEvent
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