pub enum StarGiftAttribute {
Model(StarGiftAttributeModel),
Pattern(StarGiftAttributePattern),
Backdrop(StarGiftAttributeBackdrop),
OriginalDetails(StarGiftAttributeOriginalDetails),
}Expand description
Variants§
Model(StarGiftAttributeModel)
Pattern(StarGiftAttributePattern)
Backdrop(StarGiftAttributeBackdrop)
OriginalDetails(StarGiftAttributeOriginalDetails)
Trait Implementations§
Source§impl Clone for StarGiftAttribute
impl Clone for StarGiftAttribute
Source§fn clone(&self) -> StarGiftAttribute
fn clone(&self) -> StarGiftAttribute
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 StarGiftAttribute
impl Debug for StarGiftAttribute
Source§impl Deserializable for StarGiftAttribute
impl Deserializable for StarGiftAttribute
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<StarGiftAttributeBackdrop> for StarGiftAttribute
impl From<StarGiftAttributeBackdrop> for StarGiftAttribute
Source§fn from(x: StarGiftAttributeBackdrop) -> Self
fn from(x: StarGiftAttributeBackdrop) -> Self
Converts to this type from the input type.
Source§impl From<StarGiftAttributeModel> for StarGiftAttribute
impl From<StarGiftAttributeModel> for StarGiftAttribute
Source§fn from(x: StarGiftAttributeModel) -> Self
fn from(x: StarGiftAttributeModel) -> Self
Converts to this type from the input type.
Source§impl From<StarGiftAttributeOriginalDetails> for StarGiftAttribute
impl From<StarGiftAttributeOriginalDetails> for StarGiftAttribute
Source§fn from(x: StarGiftAttributeOriginalDetails) -> Self
fn from(x: StarGiftAttributeOriginalDetails) -> Self
Converts to this type from the input type.
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 PartialEq for StarGiftAttribute
impl PartialEq for StarGiftAttribute
Source§impl Serializable for StarGiftAttribute
impl Serializable for StarGiftAttribute
Source§impl TryFrom<StarGiftAttribute> for StarGiftAttributeBackdrop
impl TryFrom<StarGiftAttribute> for StarGiftAttributeBackdrop
Source§type Error = StarGiftAttribute
type Error = StarGiftAttribute
The type returned in the event of a conversion error.
Source§impl TryFrom<StarGiftAttribute> for StarGiftAttributeModel
impl TryFrom<StarGiftAttribute> for StarGiftAttributeModel
Source§type Error = StarGiftAttribute
type Error = StarGiftAttribute
The type returned in the event of a conversion error.
Source§impl TryFrom<StarGiftAttribute> for StarGiftAttributeOriginalDetails
impl TryFrom<StarGiftAttribute> for StarGiftAttributeOriginalDetails
Source§type Error = StarGiftAttribute
type Error = StarGiftAttribute
The type returned in the event of a conversion error.
Source§impl TryFrom<StarGiftAttribute> for StarGiftAttributePattern
impl TryFrom<StarGiftAttribute> for StarGiftAttributePattern
Source§type Error = StarGiftAttribute
type Error = StarGiftAttribute
The type returned in the event of a conversion error.
impl StructuralPartialEq for StarGiftAttribute
Auto Trait Implementations§
impl Freeze for StarGiftAttribute
impl RefUnwindSafe for StarGiftAttribute
impl Send for StarGiftAttribute
impl Sync for StarGiftAttribute
impl Unpin for StarGiftAttribute
impl UnsafeUnpin for StarGiftAttribute
impl UnwindSafe for StarGiftAttribute
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