pub struct SessionRecord {
pub id: String,
pub project_hash: ProjectHash,
pub provider: String,
pub start_ts: Option<String>,
pub end_ts: Option<String>,
pub snippet: Option<String>,
pub is_valid: bool,
}Expand description
Complete session record from the index database.
Contains all indexed metadata for a session, including validity status. Used internally by the index layer.
Fields§
§id: StringSession UUID.
project_hash: ProjectHashProject this session belongs to.
provider: StringProvider name (claude, codex, gemini).
start_ts: Option<String>Session start timestamp (ISO 8601).
end_ts: Option<String>Session end timestamp (ISO 8601), if completed.
snippet: Option<String>First user message snippet for display.
is_valid: boolWhether the session was successfully parsed and validated.
Trait Implementations§
Source§impl Clone for SessionRecord
impl Clone for SessionRecord
Source§fn clone(&self) -> SessionRecord
fn clone(&self) -> SessionRecord
Returns a duplicate of the value. Read more
1.0.0 · 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 SessionRecord
impl RefUnwindSafe for SessionRecord
impl Send for SessionRecord
impl Sync for SessionRecord
impl Unpin for SessionRecord
impl UnwindSafe for SessionRecord
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