pub struct NodeTreeSnapshot {Show 17 fields
pub parent_index: Option<Vec<i32>>,
pub node_type: Option<Vec<i32>>,
pub shadow_root_type: Option<RareStringData>,
pub node_name: Option<Vec<i32>>,
pub node_value: Option<Vec<i32>>,
pub backend_node_id: Option<Vec<i32>>,
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 pseudo_identifier: Option<RareStringData>,
pub is_clickable: Option<RareBooleanData>,
pub current_source_url: Option<RareStringData>,
pub origin_url: Option<RareStringData>,
}Expand description
Node tree snapshot.
Fields§
§parent_index: Option<Vec<i32>>Parent node index.
node_type: Option<Vec<i32>>Node type.
shadow_root_type: Option<RareStringData>Shadow root type (null, open, closed).
node_name: Option<Vec<i32>>Node name index into the strings array.
node_value: Option<Vec<i32>>Node value index into the strings array.
backend_node_id: Option<Vec<i32>>Backend node ID.
attributes: Option<Vec<ArrayOfStrings>>Attributes of Element nodes.
text_value: Option<RareStringData>Text value index (for text nodes).
input_value: Option<RareStringData>Input value index (for input elements).
input_checked: Option<RareBooleanData>Input checked state (for checkbox/radio).
option_selected: Option<RareBooleanData>Option selected state.
content_document_index: Option<RareIntegerData>Document content document index.
pseudo_type: Option<RareStringData>Type of a pseudo element node (before, after, backdrop).
pseudo_identifier: Option<RareStringData>Pseudo element identifier for this node (CSS ::marker).
is_clickable: Option<RareBooleanData>Whether this DOM node responds to mouse clicks.
current_source_url: Option<RareStringData>The URL of the script (if any) that generates this node.
origin_url: Option<RareStringData>Origin URL of the script (if any) that generates this node.
Trait Implementations§
Source§impl Clone for NodeTreeSnapshot
impl Clone for NodeTreeSnapshot
Source§fn clone(&self) -> NodeTreeSnapshot
fn clone(&self) -> NodeTreeSnapshot
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 NodeTreeSnapshot
impl Debug for NodeTreeSnapshot
Source§impl<'de> Deserialize<'de> for NodeTreeSnapshot
impl<'de> Deserialize<'de> for NodeTreeSnapshot
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
Auto Trait Implementations§
impl Freeze for NodeTreeSnapshot
impl RefUnwindSafe for NodeTreeSnapshot
impl Send for NodeTreeSnapshot
impl Sync for NodeTreeSnapshot
impl Unpin for NodeTreeSnapshot
impl UnwindSafe for NodeTreeSnapshot
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