pub struct ScrapedElement {
pub tag_name: String,
pub categories: Vec<String>,
pub submodule_name: String,
pub contexts: Vec<String>,
pub content_model: Vec<String>,
pub tag_omission: Vec<String>,
pub content_attributes: Vec<String>,
pub dom_interface: Vec<String>,
}
Expand description
The raw values extracted from the HTML spec
Fields§
§tag_name: String
§categories: Vec<String>
§submodule_name: String
§contexts: Vec<String>
§content_model: Vec<String>
§tag_omission: Vec<String>
§content_attributes: Vec<String>
§dom_interface: Vec<String>
Trait Implementations§
Source§impl Clone for ScrapedElement
impl Clone for ScrapedElement
Source§fn clone(&self) -> ScrapedElement
fn clone(&self) -> ScrapedElement
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ScrapedElement
impl Debug for ScrapedElement
Source§impl<'de> Deserialize<'de> for ScrapedElement
impl<'de> Deserialize<'de> for ScrapedElement
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 ScrapedElement
impl RefUnwindSafe for ScrapedElement
impl Send for ScrapedElement
impl Sync for ScrapedElement
impl Unpin for ScrapedElement
impl UnwindSafe for ScrapedElement
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