pub struct SessionPeek {
pub cwd: Option<PathBuf>,
pub title: Option<String>,
}Expand description
A session’s listing metadata, scanned by Folio::peek for pickers and
indexes that show sessions without rendering them.
Fields§
§cwd: Option<PathBuf>The directory the session ran in, recovered from the transcript because the encoded project-dir name flattens separators and can’t be decoded back to a real path.
title: Option<String>A human label for the session: Claude’s own ai-title, falling back to
the first prose the user typed when the session has no title yet.
Trait Implementations§
Source§impl Debug for SessionPeek
impl Debug for SessionPeek
Source§impl Default for SessionPeek
impl Default for SessionPeek
Source§fn default() -> SessionPeek
fn default() -> SessionPeek
Returns the “default value” for a type. Read more
impl Eq for SessionPeek
Source§impl PartialEq for SessionPeek
impl PartialEq for SessionPeek
impl StructuralPartialEq for SessionPeek
Auto Trait Implementations§
impl Freeze for SessionPeek
impl RefUnwindSafe for SessionPeek
impl Send for SessionPeek
impl Sync for SessionPeek
impl Unpin for SessionPeek
impl UnsafeUnpin for SessionPeek
impl UnwindSafe for SessionPeek
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