Struct cdp::dom::GetDocumentCommand [] [src]

pub struct GetDocumentCommand {
    pub depth: Option<i32>,
    pub pierce: Option<bool>,
}

Returns the root DOM node (and optionally the subtree) to the caller.

Command DOM.getDocument

Domain Module: cdp::dom
Command Struct: cdp::dom::GetDocumentCommand
Response Struct: cdp::dom::GetDocumentResponse

Fields

[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 Clone for GetDocumentCommand
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for GetDocumentCommand
[src]

[src]

Formats the value using the given formatter.

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

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

impl SerializeCdpCommand for GetDocumentCommand
[src]

[src]

[src]

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

[src]

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