pub enum FrontMatterResult {
Supersigil {
frontmatter: Frontmatter,
extra: HashMap<String, Value>,
},
NotSupersigil,
}Expand description
Result of deserializing YAML front matter.
Variants§
Supersigil
The YAML contained a supersigil: key with a valid Frontmatter.
Fields
§
frontmatter: FrontmatterThe parsed supersigil front matter.
NotSupersigil
The YAML did not contain a supersigil: key.
Trait Implementations§
Source§impl Clone for FrontMatterResult
impl Clone for FrontMatterResult
Source§fn clone(&self) -> FrontMatterResult
fn clone(&self) -> FrontMatterResult
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 moreSource§impl Debug for FrontMatterResult
impl Debug for FrontMatterResult
Source§impl PartialEq for FrontMatterResult
impl PartialEq for FrontMatterResult
impl StructuralPartialEq for FrontMatterResult
Auto Trait Implementations§
impl Freeze for FrontMatterResult
impl RefUnwindSafe for FrontMatterResult
impl Send for FrontMatterResult
impl Sync for FrontMatterResult
impl Unpin for FrontMatterResult
impl UnsafeUnpin for FrontMatterResult
impl UnwindSafe for FrontMatterResult
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