pub struct GitCommitTool;Trait Implementations§
Source§impl Tool for GitCommitTool
impl Tool for GitCommitTool
fn name(&self) -> &str
fn description(&self) -> &str
fn parameters_schema(&self) -> Value
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
args: Value,
ctx: &'life1 ToolContext,
) -> Pin<Box<dyn Future<Output = Result<ToolResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for GitCommitTool
impl RefUnwindSafe for GitCommitTool
impl Send for GitCommitTool
impl Sync for GitCommitTool
impl Unpin for GitCommitTool
impl UnsafeUnpin for GitCommitTool
impl UnwindSafe for GitCommitTool
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