pub struct ModuleSellRemoteEvent {
pub storage_slot: u8,
pub sell_item: ShipModule,
pub sell_item_localized: Option<String>,
pub server_id: u64,
pub sell_price: u64,
pub ship: ShipType,
pub ship_id: u64,
}
Expand description
Fired when selling a module that is stored at another location.
Fields§
§storage_slot: u8
The storage slot the module occupied
sell_item: ShipModule
The module that was sold.
sell_item_localized: Option<String>
The localized name of the module that was sold.
server_id: u64
The id of the server the module is stored at?
sell_price: u64
The number of credits the module was sold for.
ship: ShipType
The type of the current active ship.
ship_id: u64
The id of the current active ship.
Trait Implementations§
Source§impl Clone for ModuleSellRemoteEvent
impl Clone for ModuleSellRemoteEvent
Source§fn clone(&self) -> ModuleSellRemoteEvent
fn clone(&self) -> ModuleSellRemoteEvent
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 ModuleSellRemoteEvent
impl Debug for ModuleSellRemoteEvent
Source§impl<'de> Deserialize<'de> for ModuleSellRemoteEvent
impl<'de> Deserialize<'de> for ModuleSellRemoteEvent
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 ModuleSellRemoteEvent
impl PartialEq for ModuleSellRemoteEvent
Source§impl Serialize for ModuleSellRemoteEvent
impl Serialize for ModuleSellRemoteEvent
impl StructuralPartialEq for ModuleSellRemoteEvent
Auto Trait Implementations§
impl Freeze for ModuleSellRemoteEvent
impl RefUnwindSafe for ModuleSellRemoteEvent
impl Send for ModuleSellRemoteEvent
impl Sync for ModuleSellRemoteEvent
impl Unpin for ModuleSellRemoteEvent
impl UnwindSafe for ModuleSellRemoteEvent
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