Struct cdp::dom::RequestNodeCommand
[−]
[src]
pub struct RequestNodeCommand<'a> { pub object_id: RemoteObjectId<'a>, }
Requests that the node is sent to the caller given the JavaScript node object reference. All nodes that form the path from the node to the root are also sent to the client as a series of setChildNodes
notifications.
Command DOM.requestNode
Domain Module: cdp::dom
Command Struct: cdp::dom::RequestNodeCommand
Response Struct: cdp::dom::RequestNodeResponse
Fields
object_id: RemoteObjectId<'a>
JavaScript object id to convert into node.
Trait Implementations
impl<'a> Clone for RequestNodeCommand<'a>
[src]
fn clone(&self) -> RequestNodeCommand<'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 RequestNodeCommand<'a>
[src]
impl<'a> PartialEq for RequestNodeCommand<'a>
[src]
fn eq(&self, __arg_0: &RequestNodeCommand<'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: &RequestNodeCommand<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpCommand for RequestNodeCommand<'a>
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "DOM.requestNode"
impl<'a> SerializeCdpCommand for RequestNodeCommand<'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 RequestNodeCommand<'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>,