pub struct AgentCard {Show 18 fields
pub authentication: Option<AgentAuthentication>,
pub additional_interfaces: Vec<AgentInterface>,
pub capabilities: AgentCapabilities,
pub default_input_modes: Vec<String>,
pub default_output_modes: Vec<String>,
pub description: String,
pub documentation_url: Option<String>,
pub icon_url: Option<String>,
pub name: String,
pub preferred_transport: Option<String>,
pub protocol_version: String,
pub provider: Option<AgentProvider>,
pub security: Vec<HashMap<String, Vec<String>>>,
pub security_schemes: HashMap<String, SecurityScheme>,
pub skills: Vec<AgentSkill>,
pub supports_authenticated_extended_card: Option<bool>,
pub url: String,
pub version: String,
}
Fields§
§authentication: Option<AgentAuthentication>
§additional_interfaces: Vec<AgentInterface>
§capabilities: AgentCapabilities
§default_input_modes: Vec<String>
§default_output_modes: Vec<String>
§description: String
§documentation_url: Option<String>
§icon_url: Option<String>
§name: String
§preferred_transport: Option<String>
§protocol_version: String
§provider: Option<AgentProvider>
§security: Vec<HashMap<String, Vec<String>>>
§security_schemes: HashMap<String, SecurityScheme>
§skills: Vec<AgentSkill>
§supports_authenticated_extended_card: Option<bool>
§url: String
§version: 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
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