pub struct SetAutoDarkModeOverrideParams {
pub enabled: Option<bool>,
}Expand description
Automatically render all web contents using a dark theme.
Experimental: may change without notice.
Parameters of Emulation.setAutoDarkModeOverride.
Fields§
§enabled: Option<bool>Whether to enable or disable automatic dark mode. If not specified, any existing override will be cleared.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SetAutoDarkModeOverrideParams
impl<'de> Deserialize<'de> for SetAutoDarkModeOverrideParams
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 SetAutoDarkModeOverrideParams
Auto Trait Implementations§
impl Forget for SetAutoDarkModeOverrideParams
impl Freeze for SetAutoDarkModeOverrideParams
impl RefUnwindSafe for SetAutoDarkModeOverrideParams
impl Send for SetAutoDarkModeOverrideParams
impl Sync for SetAutoDarkModeOverrideParams
impl Unpin for SetAutoDarkModeOverrideParams
impl UnsafeUnpin for SetAutoDarkModeOverrideParams
impl UnwindSafe for SetAutoDarkModeOverrideParams
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