pub enum ChatPhotoStickerType {
RegularOrMask(ChatPhotoStickerTypeRegularOrMask),
CustomEmoji(ChatPhotoStickerTypeCustomEmoji),
}
Variants§
RegularOrMask(ChatPhotoStickerTypeRegularOrMask)
Information about the sticker, which was used to create the chat photo
CustomEmoji(ChatPhotoStickerTypeCustomEmoji)
Information about the custom emoji, which was used to create the chat photo
Trait Implementations§
Source§impl Clone for ChatPhotoStickerType
impl Clone for ChatPhotoStickerType
Source§fn clone(&self) -> ChatPhotoStickerType
fn clone(&self) -> ChatPhotoStickerType
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 ChatPhotoStickerType
impl Debug for ChatPhotoStickerType
Source§impl<'de> Deserialize<'de> for ChatPhotoStickerType
impl<'de> Deserialize<'de> for ChatPhotoStickerType
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 ChatPhotoStickerType
impl PartialEq for ChatPhotoStickerType
Source§impl Serialize for ChatPhotoStickerType
impl Serialize for ChatPhotoStickerType
impl StructuralPartialEq for ChatPhotoStickerType
Auto Trait Implementations§
impl Freeze for ChatPhotoStickerType
impl RefUnwindSafe for ChatPhotoStickerType
impl Send for ChatPhotoStickerType
impl Sync for ChatPhotoStickerType
impl Unpin for ChatPhotoStickerType
impl UnwindSafe for ChatPhotoStickerType
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