pub struct Frontmatter<'a> {
pub title: Option<String>,
pub description: Option<String>,
pub order: Option<i64>,
pub tags: Vec<String>,
pub body: &'a str,
}Expand description
The frontmatter fields this library reads, and the text after it.
Fields§
§title: Option<String>§description: Option<String>§order: Option<i64>§body: &'a strImplementations§
Trait Implementations§
Source§impl<'a> Debug for Frontmatter<'a>
impl<'a> Debug for Frontmatter<'a>
Auto Trait Implementations§
impl<'a> Freeze for Frontmatter<'a>
impl<'a> RefUnwindSafe for Frontmatter<'a>
impl<'a> Send for Frontmatter<'a>
impl<'a> Sync for Frontmatter<'a>
impl<'a> Unpin for Frontmatter<'a>
impl<'a> UnsafeUnpin for Frontmatter<'a>
impl<'a> UnwindSafe for Frontmatter<'a>
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