pub struct AgentCard {Show 14 fields
pub name: String,
pub description: String,
pub supported_interfaces: Vec<AgentInterface>,
pub provider: Option<AgentProvider>,
pub version: String,
pub documentation_url: Option<String>,
pub capabilities: AgentCapabilities,
pub security_schemes: HashMap<String, SecurityScheme>,
pub security_requirements: Vec<SecurityRequirement>,
pub default_input_modes: Vec<String>,
pub default_output_modes: Vec<String>,
pub skills: Vec<AgentSkill>,
pub signatures: Vec<AgentCardSignature>,
pub icon_url: Option<String>,
}Expand description
Complete Agent Card per A2A RC 1.0 proto spec
Fields§
§name: StringAgent display name (primary identifier per proto)
description: StringAgent description (required in RC 1.0)
supported_interfaces: Vec<AgentInterface>Supported transport interfaces (contains endpoint URLs)
provider: Option<AgentProvider>Provider/organization information
version: StringSupported A2A protocol version (e.g., “1.0”)
documentation_url: Option<String>Link to documentation
capabilities: AgentCapabilitiesFeature flags
security_schemes: HashMap<String, SecurityScheme>Named authentication schemes (map from scheme name to scheme)
security_requirements: Vec<SecurityRequirement>Required auth per operation
default_input_modes: Vec<String>Default accepted input MIME types
default_output_modes: Vec<String>Default output MIME types
skills: Vec<AgentSkill>Agent capabilities/functions
signatures: Vec<AgentCardSignature>Cryptographic signatures for verification
icon_url: Option<String>Icon URL for the agent
Implementations§
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
impl StructuralPartialEq for AgentCard
Auto Trait Implementations§
impl Freeze for AgentCard
impl RefUnwindSafe for AgentCard
impl Send for AgentCard
impl Sync for AgentCard
impl Unpin 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