pub struct AgentResultCache {
pub agent_id: AgentId,
pub phase_id: PhaseId,
pub status: String,
pub output: Value,
pub findings: Vec<Finding>,
pub tokens: u64,
pub completed_at: u64,
pub cache_key_hash: Option<String>,
pub description: Option<String>,
pub role: Option<String>,
}Fields§
§agent_id: AgentId§phase_id: PhaseId§status: String§output: Value§findings: Vec<Finding>§tokens: u64§completed_at: u64§cache_key_hash: Option<String>Deterministic cache key hash for resume lookups. Populated by JournalStore::cache_agent(); None for legacy checkpoints.
description: Option<String>§role: Option<String>Trait Implementations§
Source§impl Clone for AgentResultCache
impl Clone for AgentResultCache
Source§fn clone(&self) -> AgentResultCache
fn clone(&self) -> AgentResultCache
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AgentResultCache
impl Debug for AgentResultCache
Source§impl<'de> Deserialize<'de> for AgentResultCache
impl<'de> Deserialize<'de> for AgentResultCache
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 AgentResultCache
impl RefUnwindSafe for AgentResultCache
impl Send for AgentResultCache
impl Sync for AgentResultCache
impl Unpin for AgentResultCache
impl UnsafeUnpin for AgentResultCache
impl UnwindSafe for AgentResultCache
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