pub struct DocMeta {
pub title: Option<String>,
pub slug: Option<String>,
pub description: Option<String>,
pub tags: Vec<String>,
pub toc: Option<Vec<TocEntry>>,
pub extensions: ExtensionMap,
}Fields§
§title: Option<String>§slug: Option<String>§description: Option<String>§toc: Option<Vec<TocEntry>>§extensions: ExtensionMapTrait Implementations§
Source§impl<'de> Deserialize<'de> for DocMeta
impl<'de> Deserialize<'de> for DocMeta
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
impl StructuralPartialEq for DocMeta
Auto Trait Implementations§
impl Freeze for DocMeta
impl RefUnwindSafe for DocMeta
impl Send for DocMeta
impl Sync for DocMeta
impl Unpin for DocMeta
impl UnsafeUnpin for DocMeta
impl UnwindSafe for DocMeta
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