pub struct WeatherTool;Expand description
A mock weather tool for demonstration
Implementations§
Source§impl WeatherTool
impl WeatherTool
Trait Implementations§
Source§impl Debug for WeatherTool
impl Debug for WeatherTool
Source§impl Default for WeatherTool
impl Default for WeatherTool
Source§impl Tool for WeatherTool
impl Tool for WeatherTool
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
A description of what the tool does
Source§fn parameters_schema(&self) -> Value
fn parameters_schema(&self) -> Value
JSON Schema for the tool’s parameters
Auto Trait Implementations§
impl Freeze for WeatherTool
impl RefUnwindSafe for WeatherTool
impl Send for WeatherTool
impl Sync for WeatherTool
impl Unpin for WeatherTool
impl UnsafeUnpin for WeatherTool
impl UnwindSafe for WeatherTool
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