Struct chromiumoxide_cdp::cdp::browser_protocol::dom_snapshot::NodeTreeSnapshot [−][src]
pub struct NodeTreeSnapshot {}Show fields
pub parent_index: Option<Vec<i64>>, pub node_type: Option<Vec<i64>>, pub node_name: Option<Vec<StringIndex>>, pub node_value: Option<Vec<StringIndex>>, pub backend_node_id: Option<Vec<BackendNodeId>>, pub attributes: Option<Vec<ArrayOfStrings>>, pub text_value: Option<RareStringData>, pub input_value: Option<RareStringData>, pub input_checked: Option<RareBooleanData>, pub option_selected: Option<RareBooleanData>, pub content_document_index: Option<RareIntegerData>, pub pseudo_type: Option<RareStringData>, pub is_clickable: Option<RareBooleanData>, pub current_source_url: Option<RareStringData>, pub origin_url: Option<RareStringData>,
Expand description
Table containing nodes. NodeTreeSnapshot
Fields
parent_index: Option<Vec<i64>>
Parent node index.
node_type: Option<Vec<i64>>
Node
’s nodeType.
node_name: Option<Vec<StringIndex>>
Node
’s nodeName.
node_value: Option<Vec<StringIndex>>
Node
’s nodeValue.
backend_node_id: Option<Vec<BackendNodeId>>
Node
’s id, corresponds to DOM.Node.backendNodeId.
attributes: Option<Vec<ArrayOfStrings>>
Attributes of an Element
node. Flatten name, value pairs.
text_value: Option<RareStringData>
Only set for textarea elements, contains the text value.
input_value: Option<RareStringData>
Only set for input elements, contains the input’s associated text value.
input_checked: Option<RareBooleanData>
Only set for radio and checkbox input elements, indicates if the element has been checked
option_selected: Option<RareBooleanData>
Only set for option elements, indicates if the element has been selected
content_document_index: Option<RareIntegerData>
The index of the document in the list of the snapshot documents.
pseudo_type: Option<RareStringData>
Type of a pseudo element node.
is_clickable: Option<RareBooleanData>
Whether this DOM node responds to mouse clicks. This includes nodes that have had click event listeners attached via JavaScript as well as anchor tags that naturally navigate when clicked.
current_source_url: Option<RareStringData>
The selected url for nodes with a srcset attribute.
origin_url: Option<RareStringData>
The url of the script (if any) that generates this node.
Implementations
Trait Implementations
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
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 NodeTreeSnapshot
impl Send for NodeTreeSnapshot
impl Sync for NodeTreeSnapshot
impl Unpin for NodeTreeSnapshot
impl UnwindSafe for NodeTreeSnapshot
Blanket Implementations
Mutably borrows from an owned value. Read more