pub struct WebPageAttributeStickerSet {
pub emojis: bool,
pub text_color: bool,
pub stickers: Vec<Document>,
}Expand description
Generated from:
webPageAttributeStickerSet#50cc03d3 flags:# emojis:flags.0?true text_color:flags.1?true stickers:Vector<Document> = WebPageAttributeFields§
§emojis: bool§text_color: bool§stickers: Vec<Document>Trait Implementations§
Source§impl Clone for WebPageAttributeStickerSet
impl Clone for WebPageAttributeStickerSet
Source§fn clone(&self) -> WebPageAttributeStickerSet
fn clone(&self) -> WebPageAttributeStickerSet
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 WebPageAttributeStickerSet
impl Debug for WebPageAttributeStickerSet
Source§impl Deserializable for WebPageAttributeStickerSet
impl Deserializable for WebPageAttributeStickerSet
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<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 Identifiable for WebPageAttributeStickerSet
impl Identifiable for WebPageAttributeStickerSet
Source§const CONSTRUCTOR_ID: u32 = 0x50cc03d3
const CONSTRUCTOR_ID: u32 = 0x50cc03d3
The constructor ID as specified in the TL schema.
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.
impl StructuralPartialEq for WebPageAttributeStickerSet
Auto Trait Implementations§
impl Freeze for WebPageAttributeStickerSet
impl RefUnwindSafe for WebPageAttributeStickerSet
impl Send for WebPageAttributeStickerSet
impl Sync for WebPageAttributeStickerSet
impl Unpin for WebPageAttributeStickerSet
impl UnsafeUnpin for WebPageAttributeStickerSet
impl UnwindSafe for WebPageAttributeStickerSet
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