pub struct UniqueGiftSymbol {
pub name: String,
pub sticker: Sticker,
pub rarity_per_mille: u32,
}Expand description
Symbol shown on the pattern of a unique gift.
Fields§
§name: StringName of the symbol.
sticker: StickerThe sticker that represents this symbol.
rarity_per_mille: u32Number of unique gifts receiving this symbol per 1000 upgrades.
Trait Implementations§
Source§impl Clone for UniqueGiftSymbol
impl Clone for UniqueGiftSymbol
Source§fn clone(&self) -> UniqueGiftSymbol
fn clone(&self) -> UniqueGiftSymbol
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 UniqueGiftSymbol
impl Debug for UniqueGiftSymbol
Source§impl<'de> Deserialize<'de> for UniqueGiftSymbol
impl<'de> Deserialize<'de> for UniqueGiftSymbol
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 UniqueGiftSymbol
impl RefUnwindSafe for UniqueGiftSymbol
impl Send for UniqueGiftSymbol
impl Sync for UniqueGiftSymbol
impl Unpin for UniqueGiftSymbol
impl UnsafeUnpin for UniqueGiftSymbol
impl UnwindSafe for UniqueGiftSymbol
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