pub struct ProjectMemorySummary {
pub slug: String,
pub memory_dir: PathBuf,
pub entry_count: usize,
pub has_index: bool,
}Expand description
One project that has a memory directory, returned by
MemoryRoot::list_projects_with_memory.
Fields§
§slug: StringProject slug (the encoded-path directory name).
memory_dir: PathBufAbsolute path of the memory/ directory.
entry_count: usizeNumber of memory files (excluding MEMORY.md).
has_index: boolWhether a MEMORY.md index is present.
Trait Implementations§
Source§impl Clone for ProjectMemorySummary
impl Clone for ProjectMemorySummary
Source§fn clone(&self) -> ProjectMemorySummary
fn clone(&self) -> ProjectMemorySummary
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 ProjectMemorySummary
impl Debug for ProjectMemorySummary
Auto Trait Implementations§
impl Freeze for ProjectMemorySummary
impl RefUnwindSafe for ProjectMemorySummary
impl Send for ProjectMemorySummary
impl Sync for ProjectMemorySummary
impl Unpin for ProjectMemorySummary
impl UnsafeUnpin for ProjectMemorySummary
impl UnwindSafe for ProjectMemorySummary
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