pub struct CommandTool { /* private fields */ }Implementations§
Source§impl CommandTool
impl CommandTool
Trait Implementations§
Source§impl Clone for CommandTool
impl Clone for CommandTool
Source§impl Debug for CommandTool
impl Debug for CommandTool
Source§impl Tool for CommandTool
impl Tool for CommandTool
Source§type Arguments = CommandArgs
type Arguments = CommandArgs
Tool arguments type. Must implement
schemars::JsonSchema and serde::de::DeserializeOwned.
Its rustdoc becomes the default tool description.Source§type Res = ToolResult
type Res = ToolResult
Raw return type from the tool implementation.
Auto Trait Implementations§
impl Freeze for CommandTool
impl RefUnwindSafe for CommandTool
impl Send for CommandTool
impl Sync for CommandTool
impl Unpin for CommandTool
impl UnsafeUnpin for CommandTool
impl UnwindSafe for CommandTool
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