pub struct AgentCheckpoint {
pub context: ContextCheckpoint,
pub tool_surface_hash: String,
pub context_window: ContextWindowSnapshot,
}Expand description
Checkpoint payload exported by the agent runtime.
Fields§
§context: ContextCheckpointNon-persistent runtime context managed by the agent.
tool_surface_hash: StringHash of the active tool surface for compatibility checks.
context_window: ContextWindowSnapshotStructured snapshot of the current context window.
Trait Implementations§
Source§impl Clone for AgentCheckpoint
impl Clone for AgentCheckpoint
Source§impl Debug for AgentCheckpoint
impl Debug for AgentCheckpoint
Source§impl<'de> Deserialize<'de> for AgentCheckpoint
impl<'de> Deserialize<'de> for AgentCheckpoint
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 Forget for AgentCheckpoint
impl Freeze for AgentCheckpoint
impl Move for AgentCheckpoint
impl RefUnwindSafe for AgentCheckpoint
impl Send for AgentCheckpoint
impl Sync for AgentCheckpoint
impl Unpin for AgentCheckpoint
impl UnsafeUnpin for AgentCheckpoint
impl UnwindSafe for AgentCheckpoint
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