Struct cdp::dom::RequestChildNodesCommand [] [src]

pub struct RequestChildNodesCommand {
    pub node_id: NodeId,
    pub depth: Option<i32>,
    pub pierce: Option<bool>,
}

Requests that children of the node with given id are returned to the caller in form of setChildNodes events where not only immediate children are retrieved, but all children down to the specified depth.

Command DOM.requestChildNodes

Domain Module: cdp::dom
Command Struct: cdp::dom::RequestChildNodesCommand
Response Struct: cdp::dom::RequestChildNodesResponse

Fields

Id of the node to get children for.

[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 sub-tree (default is false).

Trait Implementations

impl Clone for RequestChildNodesCommand
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for RequestChildNodesCommand
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for RequestChildNodesCommand
[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 CdpCommand for RequestChildNodesCommand
[src]

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

impl SerializeCdpCommand for RequestChildNodesCommand
[src]

[src]

[src]

impl<'de> DeserializeCdpCommand<'de> for RequestChildNodesCommand
[src]

[src]

impl<'b> HasCdpResponse<'b> for RequestChildNodesCommand
[src]