pub struct EchoTool {
pub message: String,
pub repeat: Option<u32>,
}Expand description
A simple echo tool that returns the input message
Fields§
§message: String§repeat: Option<u32>Implementations§
Trait Implementations§
Source§impl Tool for EchoTool
impl Tool for EchoTool
Source§fn schema(&self) -> ToolSchema
fn schema(&self) -> ToolSchema
Get tool schema
Auto Trait Implementations§
impl Freeze for EchoTool
impl RefUnwindSafe for EchoTool
impl Send for EchoTool
impl Sync for EchoTool
impl Unpin for EchoTool
impl UnsafeUnpin for EchoTool
impl UnwindSafe for EchoTool
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