pub struct RequestChildNodesParams {
pub node_id: Box<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: Box<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§
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<'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
Source§impl PartialEq for RequestChildNodesParams
impl PartialEq for RequestChildNodesParams
Source§impl Serialize for RequestChildNodesParams
impl Serialize for RequestChildNodesParams
impl StructuralPartialEq for RequestChildNodesParams
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