pub struct Article {
pub fm: FrontMatter,
pub content: String,
pub path: String,
}Expand description
A chapter plus its parsed metadata.
Article holds the frontmatter, full Markdown body, and the path relative
to the mdBook src root. It is the internal representation used before
converting to RSS items.
Fields§
§fm: FrontMatter§content: String§path: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for Article
impl RefUnwindSafe for Article
impl Send for Article
impl Sync for Article
impl Unpin for Article
impl UnwindSafe for Article
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