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