pub struct DescribeNode {
pub node_id: Option<NodeId>,
pub backend_node_id: Option<BackendNodeId>,
pub object_id: Option<RemoteObjectId>,
pub depth: Option<JsUInt>,
pub pierce: Option<bool>,
}Expand description
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<RemoteObjectId>JavaScript object id of the node wrapper.
depth: Option<JsUInt>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).
Trait Implementations§
Source§impl Clone for DescribeNode
impl Clone for DescribeNode
Source§fn clone(&self) -> DescribeNode
fn clone(&self) -> DescribeNode
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 DescribeNode
impl Debug for DescribeNode
Source§impl<'de> Deserialize<'de> for DescribeNode
impl<'de> Deserialize<'de> for DescribeNode
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 Method for DescribeNode
impl Method for DescribeNode
const NAME: &'static str = "DOM.describeNode"
type ReturnObject = DescribeNodeReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Source§impl PartialEq for DescribeNode
impl PartialEq for DescribeNode
Source§impl Serialize for DescribeNode
impl Serialize for DescribeNode
impl StructuralPartialEq for DescribeNode
Auto Trait Implementations§
impl Freeze for DescribeNode
impl RefUnwindSafe for DescribeNode
impl Send for DescribeNode
impl Sync for DescribeNode
impl Unpin for DescribeNode
impl UnsafeUnpin for DescribeNode
impl UnwindSafe for DescribeNode
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