pub struct SweptSession {
pub session_id: String,
pub projects_dir: PathBuf,
pub cwd: Option<String>,
pub harness_version: Option<String>,
pub files: Vec<TranscriptFile>,
}Expand description
A session discovered on disk by sweep.
Fields§
§session_id: StringThe harness session id, from the transcript’s filename.
projects_dir: PathBufThe project directory the transcript set lives in.
cwd: Option<String>True working directory, read out of the transcript’s own records. None
when no record in the scanned head carried one.
harness_version: Option<String>Harness version, read out of the transcript’s own records.
files: Vec<TranscriptFile>The session’s full upload set — main transcript plus any subagents, in the
same order files::session_files returns.
Trait Implementations§
Source§impl Clone for SweptSession
impl Clone for SweptSession
Source§fn clone(&self) -> SweptSession
fn clone(&self) -> SweptSession
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 SweptSession
impl Debug for SweptSession
impl Eq for SweptSession
Source§impl PartialEq for SweptSession
impl PartialEq for SweptSession
impl StructuralPartialEq for SweptSession
Auto Trait Implementations§
impl Freeze for SweptSession
impl RefUnwindSafe for SweptSession
impl Send for SweptSession
impl Sync for SweptSession
impl Unpin for SweptSession
impl UnsafeUnpin for SweptSession
impl UnwindSafe for SweptSession
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.