pub struct DescribeNodeParams {
pub node_id: Option<NodeId>,
pub backend_node_id: Option<BackendNodeId>,
pub object_id: Option<String>,
pub depth: Option<i32>,
pub pierce: Option<bool>,
}Expand description
Parameters for DOM.describeNode.
Describes node given its id. Does not require domain to be enabled. Does not start tracking any objects, can be used for automation.
Fields§
§node_id: Option<NodeId>Identifier of the node.
backend_node_id: Option<BackendNodeId>Identifier of the backend node.
object_id: Option<String>JavaScript object id of the node wrapper.
depth: Option<i32>The maximum depth at which children should be retrieved.
pierce: Option<bool>Whether or not iframes and shadow roots should be traversed.
Trait Implementations§
Source§impl Clone for DescribeNodeParams
impl Clone for DescribeNodeParams
Source§fn clone(&self) -> DescribeNodeParams
fn clone(&self) -> DescribeNodeParams
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 DescribeNodeParams
impl Debug for DescribeNodeParams
Auto Trait Implementations§
impl Freeze for DescribeNodeParams
impl RefUnwindSafe for DescribeNodeParams
impl Send for DescribeNodeParams
impl Sync for DescribeNodeParams
impl Unpin for DescribeNodeParams
impl UnwindSafe for DescribeNodeParams
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