pub struct AgentCardConfig {Show 16 fields
pub protocol_version: String,
pub name: Option<String>,
pub display_name: String,
pub description: String,
pub version: String,
pub preferred_transport: String,
pub icon_url: Option<String>,
pub documentation_url: Option<String>,
pub provider: Option<AgentProviderInfo>,
pub capabilities: CapabilitiesConfig,
pub default_input_modes: Vec<String>,
pub default_output_modes: Vec<String>,
pub security_schemes: Option<Value>,
pub security: Option<Vec<Value>>,
pub skills: Vec<AgentSkillConfig>,
pub supports_authenticated_extended_card: bool,
}Fields§
§protocol_version: String§name: Option<String>§display_name: String§description: String§version: String§preferred_transport: String§icon_url: Option<String>§documentation_url: Option<String>§provider: Option<AgentProviderInfo>§capabilities: CapabilitiesConfig§default_input_modes: Vec<String>§default_output_modes: Vec<String>§security_schemes: Option<Value>§security: Option<Vec<Value>>§skills: Vec<AgentSkillConfig>§supports_authenticated_extended_card: boolTrait Implementations§
Source§impl Clone for AgentCardConfig
impl Clone for AgentCardConfig
Source§fn clone(&self) -> AgentCardConfig
fn clone(&self) -> AgentCardConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentCardConfig
impl Debug for AgentCardConfig
Source§impl<'de> Deserialize<'de> for AgentCardConfig
impl<'de> Deserialize<'de> for AgentCardConfig
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 AgentCardConfig
impl RefUnwindSafe for AgentCardConfig
impl Send for AgentCardConfig
impl Sync for AgentCardConfig
impl Unpin for AgentCardConfig
impl UnwindSafe for AgentCardConfig
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