pub struct SellWeaponEvent {
pub name: Weapon,
pub name_localized: Option<String>,
pub suit_module_id: u64,
pub class: u8,
pub price: u64,
pub weapon_mods: Vec<WeaponMod>,
}
Fields§
§name: Weapon
§name_localized: Option<String>
§suit_module_id: u64
§class: u8
§price: u64
§weapon_mods: Vec<WeaponMod>
Trait Implementations§
Source§impl Clone for SellWeaponEvent
impl Clone for SellWeaponEvent
Source§fn clone(&self) -> SellWeaponEvent
fn clone(&self) -> SellWeaponEvent
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 SellWeaponEvent
impl Debug for SellWeaponEvent
Source§impl<'de> Deserialize<'de> for SellWeaponEvent
impl<'de> Deserialize<'de> for SellWeaponEvent
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 SellWeaponEvent
impl PartialEq for SellWeaponEvent
Source§impl Serialize for SellWeaponEvent
impl Serialize for SellWeaponEvent
impl StructuralPartialEq for SellWeaponEvent
Auto Trait Implementations§
impl Freeze for SellWeaponEvent
impl RefUnwindSafe for SellWeaponEvent
impl Send for SellWeaponEvent
impl Sync for SellWeaponEvent
impl Unpin for SellWeaponEvent
impl UnwindSafe for SellWeaponEvent
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