pub struct AgentCapability {
pub id: String,
pub name: String,
pub description: String,
pub input_schema: Option<String>,
pub output_schema: Option<String>,
}Expand description
A specific capability that an agent template provides
Fields§
§id: StringCapability identifier (e.g., “code_generation”, “web_search”)
name: StringHuman-readable name
description: StringDescription of what the capability does
input_schema: Option<String>Input schema (JSON Schema string)
output_schema: Option<String>Output schema (JSON Schema string)
Trait Implementations§
Source§impl Clone for AgentCapability
impl Clone for AgentCapability
Source§fn clone(&self) -> AgentCapability
fn clone(&self) -> AgentCapability
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 AgentCapability
impl Debug for AgentCapability
Source§impl<'de> Deserialize<'de> for AgentCapability
impl<'de> Deserialize<'de> for AgentCapability
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
impl Eq for AgentCapability
Source§impl PartialEq for AgentCapability
impl PartialEq for AgentCapability
Source§fn eq(&self, other: &AgentCapability) -> bool
fn eq(&self, other: &AgentCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentCapability
impl Serialize for AgentCapability
impl StructuralPartialEq for AgentCapability
Auto Trait Implementations§
impl Freeze for AgentCapability
impl RefUnwindSafe for AgentCapability
impl Send for AgentCapability
impl Sync for AgentCapability
impl Unpin for AgentCapability
impl UnsafeUnpin for AgentCapability
impl UnwindSafe for AgentCapability
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