pub struct CreateSuitLoadoutEvent {
pub suit_id: u64,
pub suit_name: Suit,
pub suit_name_localized: String,
pub suit_mods: Vec<SuitMod>,
pub loadout_id: u64,
pub loadout_name: String,
pub modules: Vec<SuitModule>,
}
Expand description
Fired when the player creates a new suit load-out.
Fields§
§suit_id: u64
The id of the base suit used for the load-out.
suit_name: Suit
The suit used as the base suit for the load-out.
suit_name_localized: String
The localized name of the base suit for the load-out.
suit_mods: Vec<SuitMod>
A list of suit mods that are part of the base suit for the load-out.
loadout_id: u64
The id for the new suit load-out.
loadout_name: String
The name for the new suit load-out.
modules: Vec<SuitModule>
A list of equipped modules for this suit load-out.
Trait Implementations§
Source§impl Clone for CreateSuitLoadoutEvent
impl Clone for CreateSuitLoadoutEvent
Source§fn clone(&self) -> CreateSuitLoadoutEvent
fn clone(&self) -> CreateSuitLoadoutEvent
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 CreateSuitLoadoutEvent
impl Debug for CreateSuitLoadoutEvent
Source§impl<'de> Deserialize<'de> for CreateSuitLoadoutEvent
impl<'de> Deserialize<'de> for CreateSuitLoadoutEvent
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 CreateSuitLoadoutEvent
impl PartialEq for CreateSuitLoadoutEvent
Source§impl Serialize for CreateSuitLoadoutEvent
impl Serialize for CreateSuitLoadoutEvent
impl StructuralPartialEq for CreateSuitLoadoutEvent
Auto Trait Implementations§
impl Freeze for CreateSuitLoadoutEvent
impl RefUnwindSafe for CreateSuitLoadoutEvent
impl Send for CreateSuitLoadoutEvent
impl Sync for CreateSuitLoadoutEvent
impl Unpin for CreateSuitLoadoutEvent
impl UnwindSafe for CreateSuitLoadoutEvent
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