Struct cdp::overlay::SetInspectModeCommand
[−]
[src]
pub struct SetInspectModeCommand<'a> { pub mode: InspectMode, pub highlight_config: Option<HighlightConfig<'a>>, }
[Experimental] Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspectNodeRequested' event upon element selection.
Command Overlay.setInspectMode
Domain Module: cdp::overlay
Command Struct: cdp::overlay::SetInspectModeCommand
Response Struct: cdp::overlay::SetInspectModeResponse
Fields
mode: InspectMode
Set an inspection mode.
highlight_config: Option<HighlightConfig<'a>>
A descriptor for the highlight appearance of hovered-over nodes. May be omitted if enabled == false
.
Trait Implementations
impl<'a> Clone for SetInspectModeCommand<'a>
[src]
fn clone(&self) -> SetInspectModeCommand<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for SetInspectModeCommand<'a>
[src]
impl<'a> PartialEq for SetInspectModeCommand<'a>
[src]
fn eq(&self, __arg_0: &SetInspectModeCommand<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SetInspectModeCommand<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpCommand for SetInspectModeCommand<'a>
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "Overlay.setInspectMode"
impl<'a> SerializeCdpCommand for SetInspectModeCommand<'a>
[src]
fn command_name(&self) -> &str
[src]
fn serialize_command_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
impl<'de, 'a> DeserializeCdpCommand<'de> for SetInspectModeCommand<'a>
[src]
fn deserialize_command<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,
[src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,