Struct chrome_remote_interface_model::dom::DescribeNodeReturn [−][src]
DOM
and Runtime
only.Describes node given its id, does not require domain to be enabled. Does not start tracking any objects, can be used for automation.
Implementations
impl DescribeNodeReturn
[src]
Methods from Deref<Target = Node>
pub fn node_id(&self) -> &NodeId
[src]
Node identifier that is passed into the rest of the DOM messages as the nodeId
. Backend
will only push node with given id
once. It is aware of all requested nodes and will only
fire DOM events for nodes known to the client.
pub fn parent_id(&self) -> Option<&NodeId>
[src]
The id of the parent node if any.
pub fn backend_node_id(&self) -> &BackendNodeId
[src]
The BackendNodeId for this node.
pub fn node_type(&self) -> u32
[src]
Node
's nodeType.
pub fn node_name(&self) -> &str
[src]
Node
's nodeName.
pub fn local_name(&self) -> &str
[src]
Node
's localName.
pub fn node_value(&self) -> &str
[src]
Node
's nodeValue.
pub fn child_node_count(&self) -> Option<&u32>
[src]
Child count for Container
nodes.
pub fn children(&self) -> Option<&Vec<Node>>
[src]
Child nodes of this node when requested with children.
pub fn attributes(&self) -> Option<&Vec<String>>
[src]
Attributes of the Element
node in the form of flat array [name1, value1, name2, value2]
.
pub fn document_url(&self) -> Option<&String>
[src]
Document URL that Document
or FrameOwner
node points to.
pub fn base_url(&self) -> Option<&String>
[src]
Base URL that Document
or FrameOwner
node uses for URL completion.
pub fn public_id(&self) -> Option<&String>
[src]
DocumentType
's publicId.
pub fn system_id(&self) -> Option<&String>
[src]
DocumentType
's systemId.
pub fn internal_subset(&self) -> Option<&String>
[src]
DocumentType
's internalSubset.
pub fn xml_version(&self) -> Option<&String>
[src]
Document
's XML version in case of XML documents.
pub fn name(&self) -> Option<&String>
[src]
Attr
's name.
pub fn value(&self) -> Option<&String>
[src]
Attr
's value.
pub fn pseudo_type(&self) -> Option<&PseudoType>
[src]
Pseudo element type for this node.
pub fn shadow_root_type(&self) -> Option<&ShadowRootType>
[src]
Shadow root type.
pub fn frame_id(&self) -> Option<&FrameId>
[src]
Frame ID for frame owner elements.
pub fn content_document(&self) -> Option<&Node>
[src]
Content document for frame owner elements.
pub fn shadow_roots(&self) -> Option<&Vec<Node>>
[src]
Shadow root list for given element host.
pub fn template_content(&self) -> Option<&Node>
[src]
Content document fragment for template elements.
pub fn pseudo_elements(&self) -> Option<&Vec<Node>>
[src]
Pseudo elements associated with this node.
pub fn imported_document(&self) -> Option<&Node>
[src]
Import document for the HTMLImport links.
pub fn distributed_nodes(&self) -> Option<&Vec<BackendNode>>
[src]
Distributed nodes for given insertion point.
pub fn is_svg(&self) -> Option<&bool>
[src]
Whether the node is SVG.
Trait Implementations
impl Clone for DescribeNodeReturn
[src]
fn clone(&self) -> DescribeNodeReturn
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DescribeNodeReturn
[src]
impl Deref for DescribeNodeReturn
[src]
impl<'de> Deserialize<'de> for DescribeNodeReturn
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for DescribeNodeReturn
[src]
Auto Trait Implementations
impl RefUnwindSafe for DescribeNodeReturn
[src]
impl Send for DescribeNodeReturn
[src]
impl Sync for DescribeNodeReturn
[src]
impl Unpin for DescribeNodeReturn
[src]
impl UnwindSafe for DescribeNodeReturn
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,