pub struct NodeDescription {
pub node_id: NodeId,
pub backend_node_id: BackendNodeId,
pub node_type: i32,
pub node_name: String,
pub local_name: String,
pub node_value: String,
pub child_node_count: Option<i32>,
pub children: Option<Vec<Node>>,
pub attributes: Option<Vec<String>>,
pub frame_id: Option<String>,
}Expand description
Node description from DOM.describeNode.
Fields§
§node_id: NodeIdNode identifier that is passed into the rest of the DOM messages.
backend_node_id: BackendNodeIdThe BackendNodeId for this node.
node_type: i32Node’s nodeType.
node_name: StringNode’s nodeName.
local_name: StringNode’s local name.
node_value: StringNode’s nodeValue.
child_node_count: Option<i32>Child count for Container nodes.
children: Option<Vec<Node>>Child nodes of this node when requested.
attributes: Option<Vec<String>>Attributes of the Element node in the form of flat array.
frame_id: Option<String>Frame ID for frame owner elements.
Trait Implementations§
Source§impl Clone for NodeDescription
impl Clone for NodeDescription
Source§fn clone(&self) -> NodeDescription
fn clone(&self) -> NodeDescription
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 NodeDescription
impl Debug for NodeDescription
Source§impl<'de> Deserialize<'de> for NodeDescription
impl<'de> Deserialize<'de> for NodeDescription
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 NodeDescription
impl RefUnwindSafe for NodeDescription
impl Send for NodeDescription
impl Sync for NodeDescription
impl Unpin for NodeDescription
impl UnwindSafe for NodeDescription
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