pub struct ChatThemeEmoji {
pub name: String,
}Expand description
A chat theme based on an emoji
Fields§
§name: StringName of the theme; full theme description is received through updateEmojiChatThemes
Trait Implementations§
Source§impl Clone for ChatThemeEmoji
impl Clone for ChatThemeEmoji
Source§fn clone(&self) -> ChatThemeEmoji
fn clone(&self) -> ChatThemeEmoji
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChatThemeEmoji
impl Debug for ChatThemeEmoji
Source§impl Default for ChatThemeEmoji
impl Default for ChatThemeEmoji
Source§fn default() -> ChatThemeEmoji
fn default() -> ChatThemeEmoji
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatThemeEmoji
impl<'de> Deserialize<'de> for ChatThemeEmoji
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 ChatThemeEmoji
impl PartialEq for ChatThemeEmoji
Source§fn eq(&self, other: &ChatThemeEmoji) -> bool
fn eq(&self, other: &ChatThemeEmoji) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChatThemeEmoji
impl Serialize for ChatThemeEmoji
impl StructuralPartialEq for ChatThemeEmoji
Auto Trait Implementations§
impl Freeze for ChatThemeEmoji
impl RefUnwindSafe for ChatThemeEmoji
impl Send for ChatThemeEmoji
impl Sync for ChatThemeEmoji
impl Unpin for ChatThemeEmoji
impl UnsafeUnpin for ChatThemeEmoji
impl UnwindSafe for ChatThemeEmoji
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