pub struct DefaultFrontmatter {
pub title: Option<String>,
pub description: Option<String>,
}Expand description
Default frontmatter fields used by crate::FlatPage.
Fields§
§title: Option<String>Optional explicit page title from frontmatter.
description: Option<String>Optional description from frontmatter.
Trait Implementations§
Source§impl Debug for DefaultFrontmatter
impl Debug for DefaultFrontmatter
Source§impl<'de> Deserialize<'de> for DefaultFrontmatter
impl<'de> Deserialize<'de> for DefaultFrontmatter
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 DefaultFrontmatter
impl RefUnwindSafe for DefaultFrontmatter
impl Send for DefaultFrontmatter
impl Sync for DefaultFrontmatter
impl Unpin for DefaultFrontmatter
impl UnsafeUnpin for DefaultFrontmatter
impl UnwindSafe for DefaultFrontmatter
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