Struct rsx_rosetta::Dom
source · pub struct Dom {
pub tree_type: DomVariant,
pub children: Vec<Node, Global>,
pub errors: Vec<String, Global>,
}
Expand description
The main struct & the result of the parsed html
Fields§
§tree_type: DomVariant
The type of the tree that was parsed
children: Vec<Node, Global>
All of the root children in the tree
errors: Vec<String, Global>
A collection of all errors during parsing
Implementations§
Trait Implementations§
source§impl Serialize for Dom
impl Serialize for Dom
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more