Struct chromiumoxide_cdp::cdp::browser_protocol::dom::RequestChildNodesParams [−][src]
pub struct RequestChildNodesParams { pub node_id: NodeId, pub depth: Option<i64>, pub pierce: Option<bool>, }
Expand description
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.
requestChildNodes
Fields
node_id: NodeId
Id of the node to get children for.
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 sub-tree (default is false).
Implementations
Trait Implementations
type Response = RequestChildNodesReturns
type Response = RequestChildNodesReturns
The type of the response this request triggers on the chromium server
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 RequestChildNodesParams
impl Send for RequestChildNodesParams
impl Sync for RequestChildNodesParams
impl Unpin for RequestChildNodesParams
impl UnwindSafe for RequestChildNodesParams
Blanket Implementations
Mutably borrows from an owned value. Read more