pub struct SearchRepoTool;Expand description
Model-visible adapter that requests governed repository search.
Trait Implementations§
Source§impl Clone for SearchRepoTool
impl Clone for SearchRepoTool
Source§fn clone(&self) -> SearchRepoTool
fn clone(&self) -> SearchRepoTool
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 SearchRepoTool
Source§impl Debug for SearchRepoTool
impl Debug for SearchRepoTool
Source§impl Default for SearchRepoTool
impl Default for SearchRepoTool
Source§fn default() -> SearchRepoTool
fn default() -> SearchRepoTool
Returns the “default value” for a type. Read more
Source§impl Tool for SearchRepoTool
impl Tool for SearchRepoTool
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 SearchRepoTool
impl RefUnwindSafe for SearchRepoTool
impl Send for SearchRepoTool
impl Sync for SearchRepoTool
impl Unpin for SearchRepoTool
impl UnsafeUnpin for SearchRepoTool
impl UnwindSafe for SearchRepoTool
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