Struct cdp::emulation::SetDefaultBackgroundColorOverrideCommand [] [src]

pub struct SetDefaultBackgroundColorOverrideCommand {
    pub color: Option<Rgba>,
}

[Experimental] Sets or clears an override of the default background color of the frame. This override is used if the content does not specify one.

Command Emulation.setDefaultBackgroundColorOverride

Domain Module: cdp::emulation
Command Struct: cdp::emulation::SetDefaultBackgroundColorOverrideCommand
Response Struct: cdp::emulation::SetDefaultBackgroundColorOverrideResponse

Fields

RGBA of the default background color. If not specified, any existing override will be cleared.

Trait Implementations

impl Clone for SetDefaultBackgroundColorOverrideCommand
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SetDefaultBackgroundColorOverrideCommand
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for SetDefaultBackgroundColorOverrideCommand
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl CdpCommand for SetDefaultBackgroundColorOverrideCommand
[src]

COMMAND_NAME: &'static str = "Emulation.setDefaultBackgroundColorOverride"

impl SerializeCdpCommand for SetDefaultBackgroundColorOverrideCommand
[src]

[src]

[src]

impl<'de> DeserializeCdpCommand<'de> for SetDefaultBackgroundColorOverrideCommand
[src]

[src]

impl<'b> HasCdpResponse<'b> for SetDefaultBackgroundColorOverrideCommand
[src]