pub struct AgentRecord {Show 15 fields
pub agent_id: String,
pub state: AgentState,
pub terminal_reason: Option<TerminalReason>,
pub provider: String,
pub provider_session_id: Option<String>,
pub checkpoint_session_id: Option<String>,
pub checkpoint_cursor: Option<i64>,
pub owner_actor: String,
pub owner_peer_class: String,
pub owner_write_namespace: String,
pub owner_visible_namespaces: Vec<String>,
pub spawn_fingerprint: String,
pub spawned_at: i64,
pub state_changed_at: i64,
pub idempotency_key: Option<String>,
}Expand description
The runtime-owned agent process record (ADR-142 §1, “Persistent process record”).
Fields§
§agent_id: String§state: AgentState§terminal_reason: Option<TerminalReason>§provider: String§provider_session_id: Option<String>§checkpoint_session_id: Option<String>§checkpoint_cursor: Option<i64>§owner_actor: String§owner_peer_class: String§owner_write_namespace: String§owner_visible_namespaces: Vec<String>§spawn_fingerprint: String§spawned_at: i64§state_changed_at: i64§idempotency_key: Option<String>Trait Implementations§
Source§impl Clone for AgentRecord
impl Clone for AgentRecord
Source§fn clone(&self) -> AgentRecord
fn clone(&self) -> AgentRecord
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 AgentRecord
impl Debug for AgentRecord
Source§impl<'de> Deserialize<'de> for AgentRecord
impl<'de> Deserialize<'de> for AgentRecord
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AgentRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AgentRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AgentRecord
impl Serialize for AgentRecord
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for AgentRecord
impl RefUnwindSafe for AgentRecord
impl Send for AgentRecord
impl Sync for AgentRecord
impl Unpin for AgentRecord
impl UnsafeUnpin for AgentRecord
impl UnwindSafe for AgentRecord
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