pub struct StarGiftAttributePattern {
pub name: String,
pub document: Document,
pub rarity: StarGiftAttributeRarity,
}Expand description
Read starGiftAttributePattern docs.
Generated from the following TL definition:
starGiftAttributePattern#4e7085ea name:string document:Document rarity:StarGiftAttributeRarity = StarGiftAttributeFields§
§name: String§document: Document§rarity: StarGiftAttributeRarityTrait Implementations§
Source§impl Clone for StarGiftAttributePattern
impl Clone for StarGiftAttributePattern
Source§fn clone(&self) -> StarGiftAttributePattern
fn clone(&self) -> StarGiftAttributePattern
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 StarGiftAttributePattern
impl Debug for StarGiftAttributePattern
Source§impl From<StarGiftAttributePattern> for StarGiftAttribute
impl From<StarGiftAttributePattern> for StarGiftAttribute
Source§fn from(x: StarGiftAttributePattern) -> Self
fn from(x: StarGiftAttributePattern) -> Self
Converts to this type from the input type.
Source§impl Identifiable for StarGiftAttributePattern
impl Identifiable for StarGiftAttributePattern
Source§const CONSTRUCTOR_ID: u32 = 1315997162
const CONSTRUCTOR_ID: u32 = 1315997162
The unique identifier for the type.
Source§impl PartialEq for StarGiftAttributePattern
impl PartialEq for StarGiftAttributePattern
impl StructuralPartialEq for StarGiftAttributePattern
Auto Trait Implementations§
impl Freeze for StarGiftAttributePattern
impl RefUnwindSafe for StarGiftAttributePattern
impl Send for StarGiftAttributePattern
impl Sync for StarGiftAttributePattern
impl Unpin for StarGiftAttributePattern
impl UnsafeUnpin for StarGiftAttributePattern
impl UnwindSafe for StarGiftAttributePattern
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