pub struct SetAutoDarkModeOverride {
pub method: SetAutoDarkModeOverrideMethod,
pub params: SetAutoDarkModeOverrideParams,
}Expand description
Automatically render all web contents using a dark theme. setAutoDarkModeOverride
Fields§
§method: SetAutoDarkModeOverrideMethod§params: SetAutoDarkModeOverrideParamsImplementations§
Source§impl SetAutoDarkModeOverride
impl SetAutoDarkModeOverride
pub const IDENTIFIER: &'static str = "Emulation.setAutoDarkModeOverride"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetAutoDarkModeOverride
impl Clone for SetAutoDarkModeOverride
Source§fn clone(&self) -> SetAutoDarkModeOverride
fn clone(&self) -> SetAutoDarkModeOverride
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CommandResult for SetAutoDarkModeOverride
impl CommandResult for SetAutoDarkModeOverride
type Result = SetAutoDarkModeOverrideResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetAutoDarkModeOverride
impl Debug for SetAutoDarkModeOverride
Source§impl<'de> Deserialize<'de> for SetAutoDarkModeOverride
impl<'de> Deserialize<'de> for SetAutoDarkModeOverride
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 From<SetAutoDarkModeOverride> for BrowserProtocolCommands
impl From<SetAutoDarkModeOverride> for BrowserProtocolCommands
Source§fn from(v: SetAutoDarkModeOverride) -> Self
fn from(v: SetAutoDarkModeOverride) -> Self
Converts to this type from the input type.
Source§impl From<SetAutoDarkModeOverride> for Command
impl From<SetAutoDarkModeOverride> for Command
Source§fn from(v: SetAutoDarkModeOverride) -> Self
fn from(v: SetAutoDarkModeOverride) -> Self
Converts to this type from the input type.
Source§impl From<SetAutoDarkModeOverride> for EmulationCommands
impl From<SetAutoDarkModeOverride> for EmulationCommands
Source§fn from(v: SetAutoDarkModeOverride) -> Self
fn from(v: SetAutoDarkModeOverride) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetAutoDarkModeOverride
impl PartialEq for SetAutoDarkModeOverride
Source§impl Serialize for SetAutoDarkModeOverride
impl Serialize for SetAutoDarkModeOverride
Source§impl TryFrom<BrowserProtocolCommands> for SetAutoDarkModeOverride
impl TryFrom<BrowserProtocolCommands> for SetAutoDarkModeOverride
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SetAutoDarkModeOverride as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetAutoDarkModeOverride as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetAutoDarkModeOverride
impl TryFrom<Command> for SetAutoDarkModeOverride
Source§impl TryFrom<EmulationCommands> for SetAutoDarkModeOverride
impl TryFrom<EmulationCommands> for SetAutoDarkModeOverride
Source§type Error = EmulationCommands
type Error = EmulationCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: EmulationCommands,
) -> Result<Self, <SetAutoDarkModeOverride as TryFrom<EmulationCommands>>::Error>
fn try_from( e: EmulationCommands, ) -> Result<Self, <SetAutoDarkModeOverride as TryFrom<EmulationCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetAutoDarkModeOverride
Auto Trait Implementations§
impl Freeze for SetAutoDarkModeOverride
impl RefUnwindSafe for SetAutoDarkModeOverride
impl Send for SetAutoDarkModeOverride
impl Sync for SetAutoDarkModeOverride
impl Unpin for SetAutoDarkModeOverride
impl UnsafeUnpin for SetAutoDarkModeOverride
impl UnwindSafe for SetAutoDarkModeOverride
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