[][src]Struct html_parser::Element

pub struct Element {
    pub id: Option<String>,
    pub name: String,
    pub variant: ElementVariant,
    pub attributes: HashMap<String, Option<String>>,
    pub classes: Vec<String>,
    pub nodes: Vec<Node>,
}

Fields

id: Option<String>name: Stringvariant: ElementVariantattributes: HashMap<String, Option<String>>classes: Vec<String>nodes: Vec<Node>

Trait Implementations

impl Debug for Element[src]

impl Default for Element[src]

impl Serialize for Element[src]

Auto Trait Implementations

impl RefUnwindSafe for Element

impl Send for Element

impl Sync for Element

impl Unpin for Element

impl UnwindSafe for Element

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.