pub struct SetFrontmatter {
pub doc: String,
pub raw: Option<String>,
}Expand description
A frontmatter override (§4 set_frontmatter): the doc id and the new
frontmatter raw (fences + separator), or None to drop it.
Fields§
§doc: String§raw: Option<String>Trait Implementations§
Source§impl Clone for SetFrontmatter
impl Clone for SetFrontmatter
Source§impl Debug for SetFrontmatter
impl Debug for SetFrontmatter
impl Eq for SetFrontmatter
Source§impl PartialEq for SetFrontmatter
impl PartialEq for SetFrontmatter
impl StructuralPartialEq for SetFrontmatter
Auto Trait Implementations§
impl Freeze for SetFrontmatter
impl RefUnwindSafe for SetFrontmatter
impl Send for SetFrontmatter
impl Sync for SetFrontmatter
impl Unpin for SetFrontmatter
impl UnsafeUnpin for SetFrontmatter
impl UnwindSafe for SetFrontmatter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.