pub struct MassModuleStoreEventItem {
pub slot: ShipSlot,
pub name: ShipModule,
pub hot: bool,
pub engineering: Option<MassModuleStoreEventModification>,
}
Expand description
A module that has been stored at the current location.
Fields§
§slot: ShipSlot
The slot the module is coming from.
name: ShipModule
The kind of module stored.
hot: bool
Whether the module is hot.
engineering: Option<MassModuleStoreEventModification>
Engineering modification applied to the module, if any.
Trait Implementations§
Source§impl Clone for MassModuleStoreEventItem
impl Clone for MassModuleStoreEventItem
Source§fn clone(&self) -> MassModuleStoreEventItem
fn clone(&self) -> MassModuleStoreEventItem
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 MassModuleStoreEventItem
impl Debug for MassModuleStoreEventItem
Source§impl<'de> Deserialize<'de> for MassModuleStoreEventItem
impl<'de> Deserialize<'de> for MassModuleStoreEventItem
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 MassModuleStoreEventItem
impl PartialEq for MassModuleStoreEventItem
Source§impl Serialize for MassModuleStoreEventItem
impl Serialize for MassModuleStoreEventItem
impl StructuralPartialEq for MassModuleStoreEventItem
Auto Trait Implementations§
impl Freeze for MassModuleStoreEventItem
impl RefUnwindSafe for MassModuleStoreEventItem
impl Send for MassModuleStoreEventItem
impl Sync for MassModuleStoreEventItem
impl Unpin for MassModuleStoreEventItem
impl UnwindSafe for MassModuleStoreEventItem
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