Struct cdp::dom::GetOuterHtmlCommand
[−]
[src]
pub struct GetOuterHtmlCommand<'a> { pub node_id: Option<NodeId>, pub backend_node_id: Option<BackendNodeId>, pub object_id: Option<RemoteObjectId<'a>>, }
Returns node's HTML markup.
Command DOM.getOuterHTML
Domain Module: cdp::dom
Command Struct: cdp::dom::GetOuterHtmlCommand
Response Struct: cdp::dom::GetOuterHtmlResponse
Fields
node_id: Option<NodeId>
Identifier of the node.
backend_node_id: Option<BackendNodeId>
Identifier of the backend node.
object_id: Option<RemoteObjectId<'a>>
JavaScript object id of the node wrapper.
Trait Implementations
impl<'a> Clone for GetOuterHtmlCommand<'a>
[src]
fn clone(&self) -> GetOuterHtmlCommand<'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 GetOuterHtmlCommand<'a>
[src]
impl<'a> PartialEq for GetOuterHtmlCommand<'a>
[src]
fn eq(&self, __arg_0: &GetOuterHtmlCommand<'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: &GetOuterHtmlCommand<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpCommand for GetOuterHtmlCommand<'a>
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "DOM.getOuterHTML"
impl<'a> SerializeCdpCommand for GetOuterHtmlCommand<'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 GetOuterHtmlCommand<'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>,