pub struct Category {
pub path: String,
pub title: String,
pub description: String,
pub overview: String,
pub text: Option<String>,
pub source: Source,
}Expand description
One category (folder). A folder without _category.md still is one, titled after its name.
Fields§
§path: StringPath from the library root ("" for the root), e.g. reference/motion.
title: String§description: String§overview: StringThe body of _category.md (after the frontmatter), trimmed.
text: Option<String>_category.md verbatim, when there is one.
source: SourceTrait Implementations§
impl Eq for Category
impl StructuralPartialEq for Category
Auto Trait Implementations§
impl Forget for Category
impl Freeze for Category
impl Move for Category
impl RefUnwindSafe for Category
impl Send for Category
impl Sync for Category
impl Unpin for Category
impl UnsafeUnpin for Category
impl UnwindSafe for Category
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