pub struct SessionEntry {
pub id: String,
pub session_uuid: Option<String>,
pub path: PathBuf,
}Expand description
One session surfaced by PathResolver::list_session_entries.
Fields§
§id: StringListing key, exactly as PathResolver::list_sessions returns
it: main-file stem or orphan sub-agent directory name.
session_uuid: Option<String>Inner sessionId UUID peeked from a main file (the directory
name itself for orphan dirs); None when the peek failed.
path: PathBufThe main chat file, or the orphan sub-agent directory — stat this for change detection.
Trait Implementations§
Source§impl Clone for SessionEntry
impl Clone for SessionEntry
Source§fn clone(&self) -> SessionEntry
fn clone(&self) -> SessionEntry
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 moreAuto Trait Implementations§
impl Freeze for SessionEntry
impl RefUnwindSafe for SessionEntry
impl Send for SessionEntry
impl Sync for SessionEntry
impl Unpin for SessionEntry
impl UnsafeUnpin for SessionEntry
impl UnwindSafe for SessionEntry
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