pub struct FolderMeta {
pub display: Option<String>,
pub description: Option<String>,
}Expand description
Agent-authored display + description for one type-folder, declared in
DB.md ## Folders and surfaced in the root/layer index.md rollups. Both
fields are optional: display overrides the rollup’s derived folder name
(for casing the tool can’t guess, e.g. acronyms like HubSpot); description
is the one-line “what’s in here” the rollup shows. The tool only ever
surfaces these — it never composes a folder description from the folder’s
contents (that would be the tool inventing the curator’s judgment).
Fields§
§display: Option<String>Display-name override (absent ⇒ derived from the folder basename).
description: Option<String>One-line folder description shown in the rollup (absent ⇒ counts only).
Trait Implementations§
Source§impl Clone for FolderMeta
impl Clone for FolderMeta
Source§fn clone(&self) -> FolderMeta
fn clone(&self) -> FolderMeta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FolderMeta
impl Debug for FolderMeta
Source§impl Default for FolderMeta
impl Default for FolderMeta
Source§fn default() -> FolderMeta
fn default() -> FolderMeta
Returns the “default value” for a type. Read more
impl Eq for FolderMeta
Source§impl PartialEq for FolderMeta
impl PartialEq for FolderMeta
Source§fn eq(&self, other: &FolderMeta) -> bool
fn eq(&self, other: &FolderMeta) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FolderMeta
Auto Trait Implementations§
impl Freeze for FolderMeta
impl RefUnwindSafe for FolderMeta
impl Send for FolderMeta
impl Sync for FolderMeta
impl Unpin for FolderMeta
impl UnsafeUnpin for FolderMeta
impl UnwindSafe for FolderMeta
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.