pub struct MarkupDocumentContent {
pub kind: String,
pub attrs: HashMap<String, Value>,
pub content: Option<Vec<MarkupDocumentContentInner>>,
}Fields§
§kind: String§attrs: HashMap<String, Value>This is not just html element attributes, it also contains associated data only relavent for the given element.
content: Option<Vec<MarkupDocumentContentInner>>Trait Implementations§
Source§impl Clone for MarkupDocumentContent
impl Clone for MarkupDocumentContent
Source§fn clone(&self) -> MarkupDocumentContent
fn clone(&self) -> MarkupDocumentContent
Returns a duplicate 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 MarkupDocumentContent
impl Debug for MarkupDocumentContent
Source§impl<'de> Deserialize<'de> for MarkupDocumentContent
impl<'de> Deserialize<'de> for MarkupDocumentContent
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 MarkupDocumentContent
impl RefUnwindSafe for MarkupDocumentContent
impl Send for MarkupDocumentContent
impl Sync for MarkupDocumentContent
impl Unpin for MarkupDocumentContent
impl UnwindSafe for MarkupDocumentContent
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