Struct cdp::dom::DescribeNodeCommand [] [src]

pub struct DescribeNodeCommand<'a> {
    pub node_id: Option<NodeId>,
    pub backend_node_id: Option<BackendNodeId>,
    pub object_id: Option<RemoteObjectId<'a>>,
    pub depth: Option<i32>,
    pub pierce: Option<bool>,
}

Describes node given its id, does not require domain to be enabled. Does not start tracking any objects, can be used for automation.

Command DOM.describeNode

Domain Module: cdp::dom
Command Struct: cdp::dom::DescribeNodeCommand
Response Struct: cdp::dom::DescribeNodeResponse

Fields

Identifier of the node.

Identifier of the backend node.

JavaScript object id of the node wrapper.

[Experimental] The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.

[Experimental] Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false).

Trait Implementations

impl<'a> Clone for DescribeNodeCommand<'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 DescribeNodeCommand<'a>
[src]

[src]

Formats the value using the given formatter.

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

COMMAND_NAME: &'static str = "DOM.describeNode"

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

[src]

[src]

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

[src]

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