pub struct RequestChildNodesParams {
pub nodeId: 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.
Fields§
§nodeId: NodeIdId 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§
Source§impl CdpCommand for RequestChildNodesParams
impl CdpCommand for RequestChildNodesParams
Source§impl Clone for RequestChildNodesParams
impl Clone for RequestChildNodesParams
Source§fn clone(&self) -> RequestChildNodesParams
fn clone(&self) -> RequestChildNodesParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RequestChildNodesParams
impl Debug for RequestChildNodesParams
Source§impl Default for RequestChildNodesParams
impl Default for RequestChildNodesParams
Source§fn default() -> RequestChildNodesParams
fn default() -> RequestChildNodesParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RequestChildNodesParams
impl<'de> Deserialize<'de> for RequestChildNodesParams
Source§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
Auto Trait Implementations§
impl Freeze for RequestChildNodesParams
impl RefUnwindSafe for RequestChildNodesParams
impl Send for RequestChildNodesParams
impl Sync for RequestChildNodesParams
impl Unpin for RequestChildNodesParams
impl UnsafeUnpin for RequestChildNodesParams
impl UnwindSafe for RequestChildNodesParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more