pub struct SessionLoadResult {
pub session: SessionSummary,
pub messages: Vec<SessionHistoryMessage>,
pub history_start_index: usize,
pub history_has_earlier: bool,
pub review_items: Vec<ThreadItem>,
pub review_history_incomplete: bool,
pub activity_items: Vec<ThreadItem>,
pub activity_output_cursors: Vec<SessionOutputCursor>,
pub activity_history_incomplete: bool,
}Expand description
Loaded durable session metadata and its bounded transcript projection.
Fields§
§session: SessionSummarySelected session metadata.
messages: Vec<SessionHistoryMessage>Recent messages restored from the archive snapshot.
history_start_index: usizeIndex of the earliest restored message in the archive snapshot.
history_has_earlier: boolWhether earlier archived messages can be requested.
review_items: Vec<ThreadItem>Recent file-change snapshots from canonical history, in persisted order.
review_history_incomplete: boolWhether bounded history projection omitted review evidence.
activity_items: Vec<ThreadItem>Recent canonical tool, command, and supporting activity snapshots.
activity_output_cursors: Vec<SessionOutputCursor>Bounded cursors for archived tool output that can be loaded on demand.
activity_history_incomplete: boolWhether bounded history projection omitted activity or output evidence.
Trait Implementations§
Source§impl Clone for SessionLoadResult
impl Clone for SessionLoadResult
Source§impl Debug for SessionLoadResult
impl Debug for SessionLoadResult
Source§impl<'de> Deserialize<'de> for SessionLoadResult
impl<'de> Deserialize<'de> for SessionLoadResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SessionLoadResult
Source§impl PartialEq for SessionLoadResult
impl PartialEq for SessionLoadResult
Source§impl Serialize for SessionLoadResult
impl Serialize for SessionLoadResult
impl StructuralPartialEq for SessionLoadResult
Auto Trait Implementations§
impl Freeze for SessionLoadResult
impl RefUnwindSafe for SessionLoadResult
impl Send for SessionLoadResult
impl Sync for SessionLoadResult
impl Unpin for SessionLoadResult
impl UnsafeUnpin for SessionLoadResult
impl UnwindSafe for SessionLoadResult
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.