Struct cdp::overlay::HighlightNodeCommand [] [src]

pub struct HighlightNodeCommand<'a> {
    pub highlight_config: HighlightConfig<'a>,
    pub node_id: Option<NodeId>,
    pub backend_node_id: Option<BackendNodeId>,
    pub object_id: Option<RemoteObjectId<'a>>,
}

[Experimental] Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.

Command Overlay.highlightNode

Domain Module: cdp::overlay
Command Struct: cdp::overlay::HighlightNodeCommand
Response Struct: cdp::overlay::HighlightNodeResponse

Fields

A descriptor for the highlight appearance.

Identifier of the node to highlight.

Identifier of the backend node to highlight.

JavaScript object id of the node to be highlighted.

Trait Implementations

impl<'a> Clone for HighlightNodeCommand<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for HighlightNodeCommand<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for HighlightNodeCommand<'a>
[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<'a> CdpCommand for HighlightNodeCommand<'a>
[src]

COMMAND_NAME: &'static str = "Overlay.highlightNode"

impl<'a> SerializeCdpCommand for HighlightNodeCommand<'a>
[src]

[src]

[src]

impl<'de, 'a> DeserializeCdpCommand<'de> for HighlightNodeCommand<'a>
[src]

[src]

impl<'b, 'a> HasCdpResponse<'b> for HighlightNodeCommand<'a>
[src]