pub struct DomNode {Show 28 fields
pub node_type: JsUInt,
pub node_name: String,
pub node_value: String,
pub text_value: Option<String>,
pub input_value: Option<String>,
pub input_checked: Option<bool>,
pub option_selected: Option<bool>,
pub backend_node_id: BackendNodeId,
pub child_node_indexes: Option<Vec<JsUInt>>,
pub attributes: Option<Vec<NameValue>>,
pub pseudo_element_indexes: Option<Vec<JsUInt>>,
pub layout_node_index: Option<JsUInt>,
pub document_url: Option<String>,
pub base_url: Option<String>,
pub content_language: Option<String>,
pub document_encoding: Option<String>,
pub public_id: Option<String>,
pub system_id: Option<String>,
pub frame_id: Option<FrameId>,
pub content_document_index: Option<JsUInt>,
pub pseudo_type: Option<PseudoType>,
pub shadow_root_type: Option<ShadowRootType>,
pub is_clickable: Option<bool>,
pub event_listeners: Option<Vec<EventListener>>,
pub current_source_url: Option<String>,
pub origin_url: Option<String>,
pub scroll_offset_x: Option<JsFloat>,
pub scroll_offset_y: Option<JsFloat>,
}Fields§
§node_type: JsUInt§node_name: String§node_value: String§text_value: Option<String>§input_value: Option<String>§input_checked: Option<bool>§option_selected: Option<bool>§backend_node_id: BackendNodeId§child_node_indexes: Option<Vec<JsUInt>>§attributes: Option<Vec<NameValue>>§pseudo_element_indexes: Option<Vec<JsUInt>>§layout_node_index: Option<JsUInt>§document_url: Option<String>§base_url: Option<String>§content_language: Option<String>§document_encoding: Option<String>§public_id: Option<String>§system_id: Option<String>§frame_id: Option<FrameId>§content_document_index: Option<JsUInt>§pseudo_type: Option<PseudoType>§shadow_root_type: Option<ShadowRootType>§is_clickable: Option<bool>§event_listeners: Option<Vec<EventListener>>§current_source_url: Option<String>§origin_url: Option<String>§scroll_offset_x: Option<JsFloat>§scroll_offset_y: Option<JsFloat>Trait Implementations§
Source§impl<'de> Deserialize<'de> for DomNode
impl<'de> Deserialize<'de> for DomNode
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
impl StructuralPartialEq for DomNode
Auto Trait Implementations§
impl Freeze for DomNode
impl RefUnwindSafe for DomNode
impl Send for DomNode
impl Sync for DomNode
impl Unpin for DomNode
impl UnwindSafe for DomNode
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