pub struct UniqueGiftBackdrop {
pub name: String,
pub colors: UniqueGiftBackdropColors,
pub rarity_per_mille: u32,
}Expand description
Backdrop of a unique gift.
Fields§
§name: StringName of the backdrop.
colors: UniqueGiftBackdropColorsColors of the backdrop.
rarity_per_mille: u32Number of unique gifts receiving this backdrop per 1000 upgrades.
Trait Implementations§
Source§impl Clone for UniqueGiftBackdrop
impl Clone for UniqueGiftBackdrop
Source§fn clone(&self) -> UniqueGiftBackdrop
fn clone(&self) -> UniqueGiftBackdrop
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UniqueGiftBackdrop
impl Debug for UniqueGiftBackdrop
Source§impl<'de> Deserialize<'de> for UniqueGiftBackdrop
impl<'de> Deserialize<'de> for UniqueGiftBackdrop
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 UniqueGiftBackdrop
impl RefUnwindSafe for UniqueGiftBackdrop
impl Send for UniqueGiftBackdrop
impl Sync for UniqueGiftBackdrop
impl Unpin for UniqueGiftBackdrop
impl UnsafeUnpin for UniqueGiftBackdrop
impl UnwindSafe for UniqueGiftBackdrop
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