DocumentClass
yosoi::documents::DocumentClass
pub enum DocumentClass
One of the six document classes in the first locator slice.
Source: crates/yosoi/src/internal/documents/document_profile.rs:53
SDK re-export: Source: crates/yosoi/src/documents.rs:10
Variants
Section titled “Variants”AccessibilityTree
Section titled “AccessibilityTree”AccessibilityTree
Immutable accessibility evidence supporting role, name, text, and state locators.
Source: crates/yosoi/src/internal/documents/document_profile.rs:65
RenderedDom
Section titled “RenderedDom”RenderedDom
Immutable rendered-DOM evidence supporting snapshot-local node coordinates.
Source: crates/yosoi/src/internal/documents/document_profile.rs:63
SourceHtml
Section titled “SourceHtml”SourceHtml
HTML source bytes supporting the source-tree locator vocabulary.
Source: crates/yosoi/src/internal/documents/document_profile.rs:55
SourceJson
Section titled “SourceJson”SourceJson
Source JSON values supporting the JSON locator vocabulary.
Source: crates/yosoi/src/internal/documents/document_profile.rs:59
SourceText
Section titled “SourceText”SourceText
Source text supporting literal and regular-expression ranges.
Source: crates/yosoi/src/internal/documents/document_profile.rs:61
SourceXml
Section titled “SourceXml”SourceXml
XML source bytes supporting namespace-aware tree locators.
Source: crates/yosoi/src/internal/documents/document_profile.rs:57
Trait implementations
Section titled “Trait implementations”Clone
fn clone(&self) -> yosoi::documents::DocumentClass
Source: crates/yosoi/src/internal/documents/document_profile.rs:51
Debug
fn fmt(&self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
Source: crates/yosoi/src/internal/documents/document_profile.rs:51
Deserialize
deserialize
Section titled “deserialize”fn deserialize<__D>(__deserializer: __D) -> _serde::__private229::Result<Self, <__D as >::Error> where __D: _serde::Deserializer<'de>
Source: crates/yosoi/src/internal/documents/document_profile.rs:51
Hash
fn hash<__H: $crate::hash::Hasher>(&self, state: &mut __H)
Source: crates/yosoi/src/internal/documents/document_profile.rs:51
PartialEq
fn eq(&self, other: &yosoi::documents::DocumentClass) -> bool
Source: crates/yosoi/src/internal/documents/document_profile.rs:51
Serialize
serialize
Section titled “serialize”fn serialize<__S>(&self, __serializer: __S) -> _serde::__private229::Result<<__S as >::Ok, <__S as >::Error> where __S: _serde::Serializer
Source: crates/yosoi/src/internal/documents/document_profile.rs:51