pub struct LoadoutRemoveModuleEvent {
pub suit_id: u64,
pub suit_name: Suit,
pub suit_name_localized: Option<String>,
pub loadout_id: u64,
pub loadout_name: String,
pub slot_name: SuitSlot,
pub module_name: Weapon,
pub module_name_localized: Option<String>,
pub class: u8,
pub weapon_mods: Vec<WeaponMod>,
pub suit_module_id: u64,
}Expand description
Fired when removing a module from a suit loadout.
Fields§
§suit_id: u64The id of the base suit used for the loadout.
suit_name: SuitThe kind of suit used for the loadout.
suit_name_localized: Option<String>The localized name of the suit used for the loadout.
loadout_id: u64The id of the loadout.
loadout_name: StringThe name of the loadout.
slot_name: SuitSlotThe slot where the module was removed from.
module_name: WeaponThe name of the module that was removed.
module_name_localized: Option<String>The localized module of the module that was removed.
class: u8The class of the removed module.
weapon_mods: Vec<WeaponMod>A list of mods that are applied to the removed module.
suit_module_id: u64The id of the module.
Trait Implementations§
Source§impl Clone for LoadoutRemoveModuleEvent
impl Clone for LoadoutRemoveModuleEvent
Source§fn clone(&self) -> LoadoutRemoveModuleEvent
fn clone(&self) -> LoadoutRemoveModuleEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LoadoutRemoveModuleEvent
impl Debug for LoadoutRemoveModuleEvent
Source§impl<'de> Deserialize<'de> for LoadoutRemoveModuleEvent
impl<'de> Deserialize<'de> for LoadoutRemoveModuleEvent
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 LoadoutRemoveModuleEvent
impl PartialEq for LoadoutRemoveModuleEvent
Source§fn eq(&self, other: &LoadoutRemoveModuleEvent) -> bool
fn eq(&self, other: &LoadoutRemoveModuleEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LoadoutRemoveModuleEvent
impl Serialize for LoadoutRemoveModuleEvent
impl StructuralPartialEq for LoadoutRemoveModuleEvent
Auto Trait Implementations§
impl Freeze for LoadoutRemoveModuleEvent
impl RefUnwindSafe for LoadoutRemoveModuleEvent
impl Send for LoadoutRemoveModuleEvent
impl Sync for LoadoutRemoveModuleEvent
impl Unpin for LoadoutRemoveModuleEvent
impl UnsafeUnpin for LoadoutRemoveModuleEvent
impl UnwindSafe for LoadoutRemoveModuleEvent
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