pub enum StickerFullType {
Regular(StickerFullTypeRegular),
Mask(StickerFullTypeMask),
CustomEmoji(StickerFullTypeCustomEmoji),
}
Variants§
Regular(StickerFullTypeRegular)
The sticker is a regular sticker
Mask(StickerFullTypeMask)
The sticker is a mask in WEBP format to be placed on photos or videos
CustomEmoji(StickerFullTypeCustomEmoji)
The sticker is a custom emoji to be used inside message text and caption. Currently, only Telegram Premium users can use custom emoji
Trait Implementations§
Source§impl Clone for StickerFullType
impl Clone for StickerFullType
Source§fn clone(&self) -> StickerFullType
fn clone(&self) -> StickerFullType
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 StickerFullType
impl Debug for StickerFullType
Source§impl<'de> Deserialize<'de> for StickerFullType
impl<'de> Deserialize<'de> for StickerFullType
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
Source§impl PartialEq for StickerFullType
impl PartialEq for StickerFullType
Source§impl Serialize for StickerFullType
impl Serialize for StickerFullType
impl StructuralPartialEq for StickerFullType
Auto Trait Implementations§
impl Freeze for StickerFullType
impl RefUnwindSafe for StickerFullType
impl Send for StickerFullType
impl Sync for StickerFullType
impl Unpin for StickerFullType
impl UnwindSafe for StickerFullType
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