pub struct AgentCard {
pub name: String,
pub description: String,
pub url: String,
pub input_content_types: Vec<String>,
pub output_content_types: Vec<String>,
pub skills: Vec<AgentSkill>,
}Expand description
Agent card describing a remote A2A agent’s capabilities.
Fields§
§name: StringThe agent’s name.
description: StringThe agent’s description.
url: StringURL of the remote agent’s A2A endpoint.
input_content_types: Vec<String>Supported input content types.
output_content_types: Vec<String>Supported output content types.
skills: Vec<AgentSkill>Skills/capabilities advertised by the agent.
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 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