pub struct IndexMeta {
pub path: String,
pub title: String,
pub description: Option<String>,
pub invalid: bool,
}Expand description
An index.md with the title and summary it contributes as a directory
(FR-071): frontmatter title (else the directory name) and description.
Fields§
§path: String§title: String§description: Option<String>§invalid: boolThe frontmatter could not be parsed; the title and summary are then
unknown and neither checked nor rewritten (reported as invalid).
Trait Implementations§
impl Eq for IndexMeta
impl StructuralPartialEq for IndexMeta
Auto Trait Implementations§
impl Freeze for IndexMeta
impl RefUnwindSafe for IndexMeta
impl Send for IndexMeta
impl Sync for IndexMeta
impl Unpin for IndexMeta
impl UnsafeUnpin for IndexMeta
impl UnwindSafe for IndexMeta
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.