pub struct TcaConfig {
pub default_theme: Option<String>,
pub default_dark_theme: Option<String>,
pub default_light_theme: Option<String>,
}Expand description
Configuration for TCA user preferences.
Fields§
§default_theme: Option<String>The general default theme. Used if mode can’t be detected or other options aren’t defined.
default_dark_theme: Option<String>Default dark mode theme.
default_light_theme: Option<String>Default light mode theme.
Implementations§
Source§impl TcaConfig
impl TcaConfig
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TcaConfig
impl<'de> Deserialize<'de> for TcaConfig
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
Auto Trait Implementations§
impl Freeze for TcaConfig
impl RefUnwindSafe for TcaConfig
impl Send for TcaConfig
impl Sync for TcaConfig
impl Unpin for TcaConfig
impl UnsafeUnpin for TcaConfig
impl UnwindSafe for TcaConfig
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