pub struct TopicSummary {
pub name: String,
pub description: String,
pub kind: TopicKind,
pub path: PathBuf,
}Expand description
Lightweight summary of a topic file (frontmatter only).
Fields§
§name: StringThe slug (kebab-case, must match filename stem).
description: StringOne-line description (≤ 120 chars by convention).
kind: TopicKindMemory type classification.
path: PathBufAbsolute path to the topic file.
Trait Implementations§
Source§impl Clone for TopicSummary
impl Clone for TopicSummary
Source§fn clone(&self) -> TopicSummary
fn clone(&self) -> TopicSummary
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 TopicSummary
impl Debug for TopicSummary
impl Eq for TopicSummary
Source§impl PartialEq for TopicSummary
impl PartialEq for TopicSummary
Source§fn eq(&self, other: &TopicSummary) -> bool
fn eq(&self, other: &TopicSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TopicSummary
Auto Trait Implementations§
impl Freeze for TopicSummary
impl RefUnwindSafe for TopicSummary
impl Send for TopicSummary
impl Sync for TopicSummary
impl Unpin for TopicSummary
impl UnsafeUnpin for TopicSummary
impl UnwindSafe for TopicSummary
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.