pub struct ParsedContent {
pub frontmatter: Frontmatter,
pub html: String,
pub raw: String,
pub toc: Vec<TocEntry>,
}Expand description
Parsed content with metadata and rendered HTML.
Fields§
§frontmatter: FrontmatterParsed frontmatter metadata.
html: StringRendered HTML content.
raw: StringRaw source content (without frontmatter).
toc: Vec<TocEntry>Table of contents extracted from headings.
Trait Implementations§
Source§impl Clone for ParsedContent
impl Clone for ParsedContent
Source§fn clone(&self) -> ParsedContent
fn clone(&self) -> ParsedContent
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 moreAuto Trait Implementations§
impl Freeze for ParsedContent
impl RefUnwindSafe for ParsedContent
impl Send for ParsedContent
impl Sync for ParsedContent
impl Unpin for ParsedContent
impl UnwindSafe for ParsedContent
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