Struct chromiumoxide::cdp::browser_protocol::emulation::SetDefaultBackgroundColorOverrideParams
source · pub struct SetDefaultBackgroundColorOverrideParams {
pub color: Option<Rgba>,
}
Expand description
Sets or clears an override of the default background color of the frame. This override is used if the content does not specify one. setDefaultBackgroundColorOverride
Fields§
§color: Option<Rgba>
RGBA of the default background color. If not specified, any existing override will be cleared.
Implementations§
source§impl SetDefaultBackgroundColorOverrideParams
impl SetDefaultBackgroundColorOverrideParams
pub const IDENTIFIER: &'static str = "Emulation.setDefaultBackgroundColorOverride"
Trait Implementations§
source§impl Clone for SetDefaultBackgroundColorOverrideParams
impl Clone for SetDefaultBackgroundColorOverrideParams
source§fn clone(&self) -> SetDefaultBackgroundColorOverrideParams
fn clone(&self) -> SetDefaultBackgroundColorOverrideParams
Returns a copy 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 Command for SetDefaultBackgroundColorOverrideParams
impl Command for SetDefaultBackgroundColorOverrideParams
§type Response = SetDefaultBackgroundColorOverrideReturns
type Response = SetDefaultBackgroundColorOverrideReturns
The type of the response this request triggers on the chromium server
source§impl Default for SetDefaultBackgroundColorOverrideParams
impl Default for SetDefaultBackgroundColorOverrideParams
source§fn default() -> SetDefaultBackgroundColorOverrideParams
fn default() -> SetDefaultBackgroundColorOverrideParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SetDefaultBackgroundColorOverrideParams
impl<'de> Deserialize<'de> for SetDefaultBackgroundColorOverrideParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SetDefaultBackgroundColorOverrideParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SetDefaultBackgroundColorOverrideParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for SetDefaultBackgroundColorOverrideParams
impl Method for SetDefaultBackgroundColorOverrideParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
source§impl PartialEq for SetDefaultBackgroundColorOverrideParams
impl PartialEq for SetDefaultBackgroundColorOverrideParams
source§fn eq(&self, other: &SetDefaultBackgroundColorOverrideParams) -> bool
fn eq(&self, other: &SetDefaultBackgroundColorOverrideParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SetDefaultBackgroundColorOverrideParams
impl Serialize for SetDefaultBackgroundColorOverrideParams
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SetDefaultBackgroundColorOverrideParams
Auto Trait Implementations§
impl Freeze for SetDefaultBackgroundColorOverrideParams
impl RefUnwindSafe for SetDefaultBackgroundColorOverrideParams
impl Send for SetDefaultBackgroundColorOverrideParams
impl Sync for SetDefaultBackgroundColorOverrideParams
impl Unpin for SetDefaultBackgroundColorOverrideParams
impl UnwindSafe for SetDefaultBackgroundColorOverrideParams
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