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
highlight_config: HighlightConfig<'a>
A descriptor for the highlight appearance.
node_id: Option<NodeId>
Identifier of the node to highlight.
backend_node_id: Option<BackendNodeId>
Identifier of the backend node to highlight.
object_id: Option<RemoteObjectId<'a>>
JavaScript object id of the node to be highlighted.
Trait Implementations
impl<'a> Clone for HighlightNodeCommand<'a>
[src]
fn clone(&self) -> HighlightNodeCommand<'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 HighlightNodeCommand<'a>
[src]
impl<'a> PartialEq for HighlightNodeCommand<'a>
[src]
fn eq(&self, __arg_0: &HighlightNodeCommand<'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: &HighlightNodeCommand<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpCommand for HighlightNodeCommand<'a>
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "Overlay.highlightNode"
impl<'a> SerializeCdpCommand for HighlightNodeCommand<'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 HighlightNodeCommand<'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>,