pub enum InputChatTheme {
Emoji(InputChatThemeEmoji),
Gift(InputChatThemeGift),
}Variants§
Emoji(InputChatThemeEmoji)
A theme based on an emoji
Gift(InputChatThemeGift)
A theme based on an upgraded gift
Trait Implementations§
Source§impl Clone for InputChatTheme
impl Clone for InputChatTheme
Source§fn clone(&self) -> InputChatTheme
fn clone(&self) -> InputChatTheme
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 InputChatTheme
impl Debug for InputChatTheme
Source§impl<'de> Deserialize<'de> for InputChatTheme
impl<'de> Deserialize<'de> for InputChatTheme
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 InputChatTheme
impl PartialEq for InputChatTheme
Source§impl Serialize for InputChatTheme
impl Serialize for InputChatTheme
impl StructuralPartialEq for InputChatTheme
Auto Trait Implementations§
impl Freeze for InputChatTheme
impl RefUnwindSafe for InputChatTheme
impl Send for InputChatTheme
impl Sync for InputChatTheme
impl Unpin for InputChatTheme
impl UnsafeUnpin for InputChatTheme
impl UnwindSafe for InputChatTheme
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