pub struct SessionSummary {
pub session_id: String,
pub title: Option<String>,
pub workspace: String,
pub completed: bool,
pub resumable: bool,
pub size_bytes: u64,
pub updated_at: Option<u64>,
}Expand description
A persisted session available for reload.
Fields§
§session_id: StringStable durable session identifier.
title: Option<String>Human-readable title when known.
workspace: StringSession workspace path.
completed: boolWhether the last observed state was terminal.
resumable: boolWhether this session can be continued using existing archive data.
size_bytes: u64Archive size in bytes, zero when unknown.
updated_at: Option<u64>Snapshot end time as unix seconds, absent when unknown.
Trait Implementations§
Source§impl Clone for SessionSummary
impl Clone for SessionSummary
Source§impl Debug for SessionSummary
impl Debug for SessionSummary
Source§impl<'de> Deserialize<'de> for SessionSummary
impl<'de> Deserialize<'de> for SessionSummary
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 SessionSummary
Source§impl PartialEq for SessionSummary
impl PartialEq for SessionSummary
Source§impl Serialize for SessionSummary
impl Serialize for SessionSummary
impl StructuralPartialEq for SessionSummary
Auto Trait Implementations§
impl Forget for SessionSummary
impl Freeze for SessionSummary
impl RefUnwindSafe for SessionSummary
impl Send for SessionSummary
impl Sync for SessionSummary
impl Unpin for SessionSummary
impl UnsafeUnpin for SessionSummary
impl UnwindSafe for SessionSummary
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.