Struct chromiumoxide_cdp::cdp::browser_protocol::dom::GetDocumentParams [−][src]
Expand description
Returns the root DOM node (and optionally the subtree) to the caller. getDocument
Fields
depth: Option<i64>
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.
pierce: Option<bool>
Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false).
Implementations
Trait Implementations
type Response = GetDocumentReturns
type Response = GetDocumentReturns
The type of the response this request triggers on the chromium server
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
The whole string identifier for this method like: DOM.removeNode
The name of the domain this method belongs to: DOM
The standalone identifier of the method inside the domain: removeNode
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetDocumentParams
impl Send for GetDocumentParams
impl Sync for GetDocumentParams
impl Unpin for GetDocumentParams
impl UnwindSafe for GetDocumentParams
Blanket Implementations
Mutably borrows from an owned value. Read more