pub struct AgentSkillConfig {
pub id: String,
pub name: String,
pub description: String,
pub tags: Vec<String>,
pub examples: Option<Vec<String>>,
pub input_modes: Option<Vec<String>>,
pub output_modes: Option<Vec<String>>,
pub security: Option<Vec<Value>>,
}Expand description
Agent skill definition for A2A Agent Card.
Fields§
§id: String§name: String§description: String§examples: Option<Vec<String>>§input_modes: Option<Vec<String>>§output_modes: Option<Vec<String>>§security: Option<Vec<Value>>Trait Implementations§
Source§impl Clone for AgentSkillConfig
impl Clone for AgentSkillConfig
Source§fn clone(&self) -> AgentSkillConfig
fn clone(&self) -> AgentSkillConfig
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 AgentSkillConfig
impl Debug for AgentSkillConfig
Source§impl<'de> Deserialize<'de> for AgentSkillConfig
impl<'de> Deserialize<'de> for AgentSkillConfig
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 AgentSkillConfig
impl RefUnwindSafe for AgentSkillConfig
impl Send for AgentSkillConfig
impl Sync for AgentSkillConfig
impl Unpin for AgentSkillConfig
impl UnwindSafe for AgentSkillConfig
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