pub struct AgentTool {
pub name: String,
pub intent: Option<String>,
pub age: Option<i64>,
}Expand description
The tool an agent runs now.
Fields§
§name: StringThe tool’s name.
intent: Option<String>What it does.
age: Option<i64>Elapsed ms when sent.
Trait Implementations§
impl Eq for AgentTool
impl StructuralPartialEq for AgentTool
Auto Trait Implementations§
impl Freeze for AgentTool
impl RefUnwindSafe for AgentTool
impl Send for AgentTool
impl Sync for AgentTool
impl Unpin for AgentTool
impl UnsafeUnpin for AgentTool
impl UnwindSafe for AgentTool
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