pub struct EmojiChatTheme {
pub name: String,
pub light_settings: ThemeSettings,
pub dark_settings: ThemeSettings,
}Expand description
Describes a chat theme based on an emoji
Fields§
§name: StringTheme name
light_settings: ThemeSettingsTheme settings for a light chat theme
dark_settings: ThemeSettingsTheme settings for a dark chat theme
Trait Implementations§
Source§impl Clone for EmojiChatTheme
impl Clone for EmojiChatTheme
Source§fn clone(&self) -> EmojiChatTheme
fn clone(&self) -> EmojiChatTheme
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 EmojiChatTheme
impl Debug for EmojiChatTheme
Source§impl<'de> Deserialize<'de> for EmojiChatTheme
impl<'de> Deserialize<'de> for EmojiChatTheme
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 EmojiChatTheme
impl PartialEq for EmojiChatTheme
Source§fn eq(&self, other: &EmojiChatTheme) -> bool
fn eq(&self, other: &EmojiChatTheme) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EmojiChatTheme
impl Serialize for EmojiChatTheme
impl StructuralPartialEq for EmojiChatTheme
Auto Trait Implementations§
impl Freeze for EmojiChatTheme
impl RefUnwindSafe for EmojiChatTheme
impl Send for EmojiChatTheme
impl Sync for EmojiChatTheme
impl Unpin for EmojiChatTheme
impl UnsafeUnpin for EmojiChatTheme
impl UnwindSafe for EmojiChatTheme
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