pub struct Elem {
pub tag: String,
pub attrs: Option<HashMap<String, String>>,
pub text: Option<String>,
pub inner_html: Option<String>,
}Expand description
Represents a simplified HTML element, suitable for serialization.
Fields§
§tag: String§attrs: Option<HashMap<String, String>>§text: Option<String>§inner_html: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Elem
impl RefUnwindSafe for Elem
impl Send for Elem
impl Sync for Elem
impl Unpin for Elem
impl UnwindSafe for Elem
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