pub struct AgentCard {Show 13 fields
pub name: String,
pub description: String,
pub version: String,
pub url: String,
pub provider: Option<AgentProvider>,
pub capabilities: AgentCapabilities,
pub security_schemes: Option<HashMap<String, SecurityScheme>>,
pub security_requirements: Option<Vec<HashMap<String, Vec<String>>>>,
pub default_input_modes: Vec<String>,
pub default_output_modes: Vec<String>,
pub skills: Vec<AgentSkill>,
pub icon_url: Option<String>,
pub documentation_url: Option<String>,
}Expand description
Agent Card — the public discovery document for an A2A agent.
Fields§
§name: String§description: String§version: String§url: String§provider: Option<AgentProvider>§capabilities: AgentCapabilities§security_schemes: Option<HashMap<String, SecurityScheme>>§security_requirements: Option<Vec<HashMap<String, Vec<String>>>>§default_input_modes: Vec<String>§default_output_modes: Vec<String>§skills: Vec<AgentSkill>§icon_url: Option<String>§documentation_url: Option<String>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 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