pub struct AgentRunIdentity {
pub id: String,
pub version: Option<String>,
pub launch_digest: B3Hash,
}Expand description
Which ACP agent ran a harness run, said without a command line or a path: those are one machine’s facts, and a ledger is exported and replayed by anybody.
The digest is the one the city recomputed when the person consented, so a run started from a launch spec that changed after consent shows a different digest than the consent did.
Fields§
§id: StringThe agent entry’s id: an [[agent]] row’s, or a built-in entry’s.
version: Option<String>The version the agent reported in initialize; absent when it
reported none.
launch_digest: B3HashThe digest of the launch spec the person consented to.
Trait Implementations§
Source§impl Clone for AgentRunIdentity
impl Clone for AgentRunIdentity
Source§impl Debug for AgentRunIdentity
impl Debug for AgentRunIdentity
Source§impl<'de> Deserialize<'de> for AgentRunIdentity
impl<'de> Deserialize<'de> for AgentRunIdentity
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 AgentRunIdentity
Source§impl PartialEq for AgentRunIdentity
impl PartialEq for AgentRunIdentity
Source§impl Serialize for AgentRunIdentity
impl Serialize for AgentRunIdentity
impl StructuralPartialEq for AgentRunIdentity
Auto Trait Implementations§
impl Freeze for AgentRunIdentity
impl RefUnwindSafe for AgentRunIdentity
impl Send for AgentRunIdentity
impl Sync for AgentRunIdentity
impl Unpin for AgentRunIdentity
impl UnsafeUnpin for AgentRunIdentity
impl UnwindSafe for AgentRunIdentity
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