pub struct StoredModulesEventItem {
pub name: ShipModule,
pub name_localized: String,
pub storage_slot: u16,
pub in_transit: bool,
pub storage_location: Option<StoredModulesEventStorageLocation>,
pub buy_price: u64,
pub hot: bool,
}
Fields§
§name: ShipModule
§name_localized: String
§storage_slot: u16
§in_transit: bool
§storage_location: Option<StoredModulesEventStorageLocation>
This is None when the module is in transit. [in_transit] will be true.
buy_price: u64
§hot: bool
Trait Implementations§
Source§impl Clone for StoredModulesEventItem
impl Clone for StoredModulesEventItem
Source§fn clone(&self) -> StoredModulesEventItem
fn clone(&self) -> StoredModulesEventItem
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 StoredModulesEventItem
impl Debug for StoredModulesEventItem
Source§impl<'de> Deserialize<'de> for StoredModulesEventItem
impl<'de> Deserialize<'de> for StoredModulesEventItem
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 StoredModulesEventItem
impl PartialEq for StoredModulesEventItem
Source§impl Serialize for StoredModulesEventItem
impl Serialize for StoredModulesEventItem
impl StructuralPartialEq for StoredModulesEventItem
Auto Trait Implementations§
impl Freeze for StoredModulesEventItem
impl RefUnwindSafe for StoredModulesEventItem
impl Send for StoredModulesEventItem
impl Sync for StoredModulesEventItem
impl Unpin for StoredModulesEventItem
impl UnwindSafe for StoredModulesEventItem
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