pub struct AgentMetadata {
pub name: String,
pub description: Option<String>,
pub model: Option<String>,
pub runtime: Option<String>,
pub config_attestation: Option<String>,
}Expand description
Agent-specific metadata stored in the DID document service endpoint.
Fields§
§name: StringHuman-readable agent name.
description: Option<String>Optional description.
model: Option<String>AI model identifier (e.g., “acme-ai/agent-v2”).
runtime: Option<String>Runtime environment (e.g., “openclaw/v2.1”).
config_attestation: Option<String>BLAKE3 hash of the agent’s configuration for attestation.
Trait Implementations§
Source§impl Clone for AgentMetadata
impl Clone for AgentMetadata
Source§fn clone(&self) -> AgentMetadata
fn clone(&self) -> AgentMetadata
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 AgentMetadata
impl Debug for AgentMetadata
Source§impl<'de> Deserialize<'de> for AgentMetadata
impl<'de> Deserialize<'de> for AgentMetadata
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 AgentMetadata
impl RefUnwindSafe for AgentMetadata
impl Send for AgentMetadata
impl Sync for AgentMetadata
impl Unpin for AgentMetadata
impl UnsafeUnpin for AgentMetadata
impl UnwindSafe for AgentMetadata
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