pub struct AgentCard {
pub id: String,
pub name: String,
pub description: Option<String>,
pub provider: Option<AgentProvider>,
pub capabilities: AgentCapabilities,
pub skills: Vec<AgentSkill>,
pub interfaces: Vec<AgentInterface>,
pub securitySchemes: Map<String, Value>,
pub security: Vec<Value>,
pub extensions: Vec<String>,
pub signature: Option<AgentCardSignature>,
}Expand description
Public description of an agent — A2A spec §6.1.
Fields§
§id: StringStable agent id.
name: StringDisplay name.
description: Option<String>Free-form description.
provider: Option<AgentProvider>Provider org info.
capabilities: AgentCapabilitiesSupported capabilities.
skills: Vec<AgentSkill>Advertised skills.
interfaces: Vec<AgentInterface>Transport interfaces.
securitySchemes: Map<String, Value>Security schemes (OpenAPI-style).
security: Vec<Value>Required security scheme references.
extensions: Vec<String>Extension URIs the agent uses.
signature: Option<AgentCardSignature>Optional detached signature.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AgentCard
impl<'de> Deserialize<'de> for AgentCard
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 AgentCard
impl RefUnwindSafe for AgentCard
impl Send for AgentCard
impl Sync for AgentCard
impl Unpin for AgentCard
impl UnsafeUnpin for AgentCard
impl UnwindSafe for AgentCard
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