Struct chromiumoxide_cdp::cdp::browser_protocol::dom::DescribeNodeParams [−][src]
pub struct DescribeNodeParams { pub node_id: Option<NodeId>, pub backend_node_id: Option<BackendNodeId>, pub object_id: Option<RemoteObjectId>, pub depth: Option<i64>, 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. describeNode
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<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 subtree (default is false).
Implementations
Trait Implementations
type Response = DescribeNodeReturns
type Response = DescribeNodeReturns
The type of the response this request triggers on the chromium server
Returns the “default value” for a type. Read more
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 DescribeNodeParams
impl Send for DescribeNodeParams
impl Sync for DescribeNodeParams
impl Unpin for DescribeNodeParams
impl UnwindSafe for DescribeNodeParams
Blanket Implementations
Mutably borrows from an owned value. Read more