pub struct LegendaryArmoryItem {
pub id: u64,
pub count: NonZeroU8,
}
Expand description
An item in unlocked in the legendary armory.
Fields§
§id: u64
The id of the legendary item.
count: NonZeroU8
The number of items unlocked. This value is in the range of 1 to 4.
Trait Implementations§
Source§impl Clone for LegendaryArmoryItem
impl Clone for LegendaryArmoryItem
Source§fn clone(&self) -> LegendaryArmoryItem
fn clone(&self) -> LegendaryArmoryItem
Returns a duplicate 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 LegendaryArmoryItem
impl Debug for LegendaryArmoryItem
Source§impl<'de> Deserialize<'de> for LegendaryArmoryItem
impl<'de> Deserialize<'de> for LegendaryArmoryItem
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
Auto Trait Implementations§
impl Freeze for LegendaryArmoryItem
impl RefUnwindSafe for LegendaryArmoryItem
impl Send for LegendaryArmoryItem
impl Sync for LegendaryArmoryItem
impl Unpin for LegendaryArmoryItem
impl UnwindSafe for LegendaryArmoryItem
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