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>DEPRECATED: A2A card.skills is COMPUTED at A2A serve time by joining
metadata.skills against the on-disk skill catalog under
services/skills/. Authoring card.skills in agent YAML is a no-op for
the A2A endpoint and the bridge marketplace as of the skill-catalog
refactor.
The field is tolerated (rather than rejected) so downstream repos can
land their YAML cleanup in a follow-up commit without breaking
deserialisation. It is #[serde(skip_serializing)] so re-emitted YAML
no longer carries it, and a warning is logged at services-config load
time when the vector is non-empty (see
infra/loader/src/config_loader/merge. rs::warn_on_authored_card_skills).
To be hard-removed once all downstream YAML has been migrated.
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 (const: unstable) · 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 UnsafeUnpin 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