pub struct DocumentNode {
pub node_id: i64,
pub node_name: String,
pub child_node_count: Option<i64>,
}Expand description
A DOM node as returned by DOM.getDocument.
Fields§
§node_id: i64CDP node id, used by other DOM.* commands.
node_name: StringNode tag/name, e.g. "HTML" for the document element.
child_node_count: Option<i64>Number of direct children, if known.
Trait Implementations§
Source§impl Clone for DocumentNode
impl Clone for DocumentNode
Source§impl Debug for DocumentNode
impl Debug for DocumentNode
Source§impl<'de> Deserialize<'de> for DocumentNode
impl<'de> Deserialize<'de> for DocumentNode
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 DocumentNode
impl RefUnwindSafe for DocumentNode
impl Send for DocumentNode
impl Sync for DocumentNode
impl Unpin for DocumentNode
impl UnsafeUnpin for DocumentNode
impl UnwindSafe for DocumentNode
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