pub struct ParsedDocument {
pub ast: Vec<Node>,
pub frontmatter: Option<HashMap<String, Value>>,
}
Expand description
Represents a parsed Markdown document
Fields§
§ast: Vec<Node>
The AST (Abstract Syntax Tree) of the markdown document
frontmatter: Option<HashMap<String, Value>>
Frontmatter metadata if present
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParsedDocument
impl RefUnwindSafe for ParsedDocument
impl Send for ParsedDocument
impl Sync for ParsedDocument
impl Unpin for ParsedDocument
impl UnwindSafe for ParsedDocument
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