pub struct ApplyPatchTool;Expand description
Model-visible adapter that requests a governed structured patch.
Trait Implementations§
Source§impl Clone for ApplyPatchTool
impl Clone for ApplyPatchTool
Source§fn clone(&self) -> ApplyPatchTool
fn clone(&self) -> ApplyPatchTool
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ApplyPatchTool
Source§impl Debug for ApplyPatchTool
impl Debug for ApplyPatchTool
Source§impl Default for ApplyPatchTool
impl Default for ApplyPatchTool
Source§fn default() -> ApplyPatchTool
fn default() -> ApplyPatchTool
Returns the “default value” for a type. Read more
Source§impl Tool for ApplyPatchTool
impl Tool for ApplyPatchTool
Source§fn schema(&self) -> ToolSchema
fn schema(&self) -> ToolSchema
Model perspective: this tool’s definition.
Source§fn call<'life0, 'life1, 'async_trait>(
&'life0 self,
arguments: Value,
context: ToolContext<'life1>,
) -> Pin<Box<dyn Future<Output = Result<ToolResult, ToolError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn call<'life0, 'life1, 'async_trait>(
&'life0 self,
arguments: Value,
context: ToolContext<'life1>,
) -> Pin<Box<dyn Future<Output = Result<ToolResult, ToolError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Execution perspective: run this tool. Read more
Auto Trait Implementations§
impl Freeze for ApplyPatchTool
impl RefUnwindSafe for ApplyPatchTool
impl Send for ApplyPatchTool
impl Sync for ApplyPatchTool
impl Unpin for ApplyPatchTool
impl UnsafeUnpin for ApplyPatchTool
impl UnwindSafe for ApplyPatchTool
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