pub struct TodoReadTool;Trait Implementations§
Source§impl Tool for TodoReadTool
impl Tool for TodoReadTool
fn name(&self) -> &str
fn description(&self) -> &str
fn input_schema(&self) -> Value
fn permission_level(&self) -> PermissionLevel
fn execute<'life0, 'async_trait>(
&'life0 self,
_input: Value,
) -> Pin<Box<dyn Future<Output = AppResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for TodoReadTool
impl RefUnwindSafe for TodoReadTool
impl Send for TodoReadTool
impl Sync for TodoReadTool
impl Unpin for TodoReadTool
impl UnsafeUnpin for TodoReadTool
impl UnwindSafe for TodoReadTool
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