pub struct ProjectSummary {
pub slug: String,
pub decoded_path: PathBuf,
pub session_count: usize,
pub last_modified: Option<SystemTime>,
}Expand description
Summary of one project directory.
Fields§
§slug: StringOn-disk directory name (the encoded path).
decoded_path: PathBufBest-effort decode of the slug back to a filesystem path. See module docs for caveats.
session_count: usizeNumber of *.jsonl files in the directory.
last_modified: Option<SystemTime>Latest filesystem modification time across the project’s session files. None if the directory is empty or stats fail.
Trait Implementations§
Source§impl Clone for ProjectSummary
impl Clone for ProjectSummary
Source§fn clone(&self) -> ProjectSummary
fn clone(&self) -> ProjectSummary
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 ProjectSummary
impl Debug for ProjectSummary
Auto Trait Implementations§
impl Freeze for ProjectSummary
impl RefUnwindSafe for ProjectSummary
impl Send for ProjectSummary
impl Sync for ProjectSummary
impl Unpin for ProjectSummary
impl UnsafeUnpin for ProjectSummary
impl UnwindSafe for ProjectSummary
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