pub enum WebPageAttribute {
Theme(WebPageAttributeTheme),
Story(WebPageAttributeStory),
StickerSet(WebPageAttributeStickerSet),
UniqueStarGift(WebPageAttributeUniqueStarGift),
StarGiftCollection(WebPageAttributeStarGiftCollection),
StarGiftAuction(WebPageAttributeStarGiftAuction),
}Expand description
Variants§
Theme(WebPageAttributeTheme)
Story(WebPageAttributeStory)
StickerSet(WebPageAttributeStickerSet)
UniqueStarGift(WebPageAttributeUniqueStarGift)
StarGiftCollection(WebPageAttributeStarGiftCollection)
StarGiftAuction(WebPageAttributeStarGiftAuction)
Trait Implementations§
Source§impl Clone for WebPageAttribute
impl Clone for WebPageAttribute
Source§fn clone(&self) -> WebPageAttribute
fn clone(&self) -> WebPageAttribute
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 WebPageAttribute
impl Debug for WebPageAttribute
Source§impl Deserializable for WebPageAttribute
impl Deserializable for WebPageAttribute
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<WebPageAttributeStarGiftAuction> for WebPageAttribute
impl From<WebPageAttributeStarGiftAuction> for WebPageAttribute
Source§fn from(x: WebPageAttributeStarGiftAuction) -> Self
fn from(x: WebPageAttributeStarGiftAuction) -> Self
Converts to this type from the input type.
Source§impl From<WebPageAttributeStarGiftCollection> for WebPageAttribute
impl From<WebPageAttributeStarGiftCollection> for WebPageAttribute
Source§fn from(x: WebPageAttributeStarGiftCollection) -> Self
fn from(x: WebPageAttributeStarGiftCollection) -> Self
Converts to this type from the input type.
Source§impl From<WebPageAttributeStickerSet> for WebPageAttribute
impl From<WebPageAttributeStickerSet> for WebPageAttribute
Source§fn from(x: WebPageAttributeStickerSet) -> Self
fn from(x: WebPageAttributeStickerSet) -> Self
Converts to this type from the input type.
Source§impl From<WebPageAttributeStory> for WebPageAttribute
impl From<WebPageAttributeStory> for WebPageAttribute
Source§fn from(x: WebPageAttributeStory) -> Self
fn from(x: WebPageAttributeStory) -> Self
Converts to this type from the input type.
Source§impl From<WebPageAttributeTheme> for WebPageAttribute
impl From<WebPageAttributeTheme> for WebPageAttribute
Source§fn from(x: WebPageAttributeTheme) -> Self
fn from(x: WebPageAttributeTheme) -> Self
Converts to this type from the input type.
Source§impl From<WebPageAttributeUniqueStarGift> for WebPageAttribute
impl From<WebPageAttributeUniqueStarGift> for WebPageAttribute
Source§fn from(x: WebPageAttributeUniqueStarGift) -> Self
fn from(x: WebPageAttributeUniqueStarGift) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WebPageAttribute
impl PartialEq for WebPageAttribute
Source§impl Serializable for WebPageAttribute
impl Serializable for WebPageAttribute
Source§impl TryFrom<WebPageAttribute> for WebPageAttributeStarGiftAuction
impl TryFrom<WebPageAttribute> for WebPageAttributeStarGiftAuction
Source§type Error = WebPageAttribute
type Error = WebPageAttribute
The type returned in the event of a conversion error.
Source§impl TryFrom<WebPageAttribute> for WebPageAttributeStarGiftCollection
impl TryFrom<WebPageAttribute> for WebPageAttributeStarGiftCollection
Source§type Error = WebPageAttribute
type Error = WebPageAttribute
The type returned in the event of a conversion error.
Source§impl TryFrom<WebPageAttribute> for WebPageAttributeStickerSet
impl TryFrom<WebPageAttribute> for WebPageAttributeStickerSet
Source§type Error = WebPageAttribute
type Error = WebPageAttribute
The type returned in the event of a conversion error.
Source§impl TryFrom<WebPageAttribute> for WebPageAttributeStory
impl TryFrom<WebPageAttribute> for WebPageAttributeStory
Source§type Error = WebPageAttribute
type Error = WebPageAttribute
The type returned in the event of a conversion error.
Source§impl TryFrom<WebPageAttribute> for WebPageAttributeTheme
impl TryFrom<WebPageAttribute> for WebPageAttributeTheme
Source§type Error = WebPageAttribute
type Error = WebPageAttribute
The type returned in the event of a conversion error.
Source§impl TryFrom<WebPageAttribute> for WebPageAttributeUniqueStarGift
impl TryFrom<WebPageAttribute> for WebPageAttributeUniqueStarGift
Source§type Error = WebPageAttribute
type Error = WebPageAttribute
The type returned in the event of a conversion error.
impl StructuralPartialEq for WebPageAttribute
Auto Trait Implementations§
impl Freeze for WebPageAttribute
impl RefUnwindSafe for WebPageAttribute
impl Send for WebPageAttribute
impl Sync for WebPageAttribute
impl Unpin for WebPageAttribute
impl UnsafeUnpin for WebPageAttribute
impl UnwindSafe for WebPageAttribute
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