pub struct SessionInfo {
pub session_id: String,
pub title: String,
pub last_active_at: SystemTime,
pub session_dir: PathBuf,
}Expand description
A session entry returned by list_sessions.
Fields§
§session_id: StringSession ID (directory name, e.g. "20260914_50cf809d").
title: StringDisplay title (LLM-generated, first User message, or empty).
last_active_at: SystemTimeLast activity time (messages.jsonl mtime).
session_dir: PathBufPath to the session directory.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionInfo
impl RefUnwindSafe for SessionInfo
impl Send for SessionInfo
impl Sync for SessionInfo
impl Unpin for SessionInfo
impl UnsafeUnpin for SessionInfo
impl UnwindSafe for SessionInfo
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