pub struct ModuleRetrieveEvent {
pub market_id: u64,
pub slot: ShipSlot,
pub retrieved_item: ShipModule,
pub retrieved_item_localized: Option<String>,
pub ship: ShipType,
pub ship_id: u64,
pub hot: bool,
}
Expand description
Fired when installing a module directly from storage.
Fields§
§market_id: u64
The market id where the module was stored at and where the player installed the module.
slot: ShipSlot
The slot the module is installed into.
retrieved_item: ShipModule
The module that was installed.
retrieved_item_localized: Option<String>
The localized name of the module that was installed.
ship: ShipType
The type of the current active ship that the module has been installed onto.
ship_id: u64
The id of the current active ship that the module has been installed onto.
hot: bool
Whether the module is hot.
Trait Implementations§
Source§impl Clone for ModuleRetrieveEvent
impl Clone for ModuleRetrieveEvent
Source§fn clone(&self) -> ModuleRetrieveEvent
fn clone(&self) -> ModuleRetrieveEvent
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 ModuleRetrieveEvent
impl Debug for ModuleRetrieveEvent
Source§impl<'de> Deserialize<'de> for ModuleRetrieveEvent
impl<'de> Deserialize<'de> for ModuleRetrieveEvent
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 ModuleRetrieveEvent
impl PartialEq for ModuleRetrieveEvent
Source§impl Serialize for ModuleRetrieveEvent
impl Serialize for ModuleRetrieveEvent
impl StructuralPartialEq for ModuleRetrieveEvent
Auto Trait Implementations§
impl Freeze for ModuleRetrieveEvent
impl RefUnwindSafe for ModuleRetrieveEvent
impl Send for ModuleRetrieveEvent
impl Sync for ModuleRetrieveEvent
impl Unpin for ModuleRetrieveEvent
impl UnwindSafe for ModuleRetrieveEvent
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