pub struct ModuleStoreEvent {
pub market_id: u64,
pub slot: ShipSlot,
pub stored_item: ShipModule,
pub stored_item_localized: Option<String>,
pub ship: ShipType,
pub ship_id: u64,
pub hot: bool,
}
Expand description
Fired when storing a module.
Fields§
§market_id: u64
The market id the module is now stored at.
slot: ShipSlot
The slot that the module was equipped to.
stored_item: ShipModule
The module that was stored.
stored_item_localized: Option<String>
The localized name of the module that was stored.
ship: ShipType
The type of the current active ship.
ship_id: u64
The id of the current active ship.
hot: bool
Whether the module is hot.
Trait Implementations§
Source§impl Clone for ModuleStoreEvent
impl Clone for ModuleStoreEvent
Source§fn clone(&self) -> ModuleStoreEvent
fn clone(&self) -> ModuleStoreEvent
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 ModuleStoreEvent
impl Debug for ModuleStoreEvent
Source§impl<'de> Deserialize<'de> for ModuleStoreEvent
impl<'de> Deserialize<'de> for ModuleStoreEvent
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 ModuleStoreEvent
impl PartialEq for ModuleStoreEvent
Source§impl Serialize for ModuleStoreEvent
impl Serialize for ModuleStoreEvent
impl StructuralPartialEq for ModuleStoreEvent
Auto Trait Implementations§
impl Freeze for ModuleStoreEvent
impl RefUnwindSafe for ModuleStoreEvent
impl Send for ModuleStoreEvent
impl Sync for ModuleStoreEvent
impl Unpin for ModuleStoreEvent
impl UnwindSafe for ModuleStoreEvent
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