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