pub struct AgentCapability {
pub name: String,
pub description_lower: String,
pub tool_names: Vec<String>,
pub domains: Vec<String>,
}Expand description
Pre-computed agent capability summary.
Fields§
§name: String§description_lower: String§tool_names: Vec<String>§domains: Vec<String>Implementations§
Source§impl AgentCapability
impl AgentCapability
Sourcepub fn from_config(name: &str, description: &str, tool_names: &[String]) -> Self
pub fn from_config(name: &str, description: &str, tool_names: &[String]) -> Self
Build an AgentCapability from an agent’s name, description, and tool list.
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 moreAuto 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