pub struct ChatTheme {
pub name: String,
pub light_settings: ThemeSettings,
pub dark_settings: ThemeSettings,
}
Expand description
Describes a chat theme
Fields§
§name: String
Theme name
light_settings: ThemeSettings
Theme settings for a light chat theme
dark_settings: ThemeSettings
Theme settings for a dark chat theme
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatTheme
impl<'de> Deserialize<'de> for ChatTheme
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
impl StructuralPartialEq for ChatTheme
Auto Trait Implementations§
impl Freeze for ChatTheme
impl RefUnwindSafe for ChatTheme
impl Send for ChatTheme
impl Sync for ChatTheme
impl Unpin for ChatTheme
impl UnwindSafe for ChatTheme
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