pub struct SessionFile {
pub path: PathBuf,
pub mtime: SystemTime,
pub parent_id: Option<String>,
pub agent_id: Option<String>,
pub subagent_type: Option<String>,
}Expand description
Session file with metadata.
Fields§
§path: PathBuf§mtime: SystemTime§parent_id: Option<String>Parent session ID (set for subagent sessions).
agent_id: Option<String>Agent ID (set for subagent sessions, e.g. “agent-a5c5ccc9c2b61e757”).
subagent_type: Option<String>Subagent type from meta.json (e.g. “general-purpose”, “Explore”).
Auto Trait Implementations§
impl Freeze for SessionFile
impl RefUnwindSafe for SessionFile
impl Send for SessionFile
impl Sync for SessionFile
impl Unpin for SessionFile
impl UnsafeUnpin for SessionFile
impl UnwindSafe for SessionFile
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