pub struct SessionSnapshot {
pub state: HashMap<String, Value>,
pub phase: String,
pub turn_count: u32,
pub transcript_summary: String,
pub resume_handle: Option<String>,
pub saved_at: String,
}Expand description
Serializable snapshot of the control plane state.
Fields§
§state: HashMap<String, Value>All state key-value pairs.
phase: StringCurrent phase name.
turn_count: u32Turn count at time of snapshot.
transcript_summary: StringHuman-readable summary of recent transcript.
resume_handle: Option<String>Resume handle from the Gemini server.
saved_at: StringISO 8601 timestamp.
Trait Implementations§
Source§impl Clone for SessionSnapshot
impl Clone for SessionSnapshot
Source§fn clone(&self) -> SessionSnapshot
fn clone(&self) -> SessionSnapshot
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 moreSource§impl Debug for SessionSnapshot
impl Debug for SessionSnapshot
Source§impl<'de> Deserialize<'de> for SessionSnapshot
impl<'de> Deserialize<'de> for SessionSnapshot
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
Auto Trait Implementations§
impl Freeze for SessionSnapshot
impl RefUnwindSafe for SessionSnapshot
impl Send for SessionSnapshot
impl Sync for SessionSnapshot
impl Unpin for SessionSnapshot
impl UnwindSafe for SessionSnapshot
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