pub struct ListFilesTool;Expand description
Model-visible adapter that requests a governed workspace listing.
Trait Implementations§
Source§impl Clone for ListFilesTool
impl Clone for ListFilesTool
Source§fn clone(&self) -> ListFilesTool
fn clone(&self) -> ListFilesTool
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 ListFilesTool
Source§impl Debug for ListFilesTool
impl Debug for ListFilesTool
Source§impl Default for ListFilesTool
impl Default for ListFilesTool
Source§fn default() -> ListFilesTool
fn default() -> ListFilesTool
Returns the “default value” for a type. Read more
Source§impl Tool for ListFilesTool
impl Tool for ListFilesTool
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
'life0: 'async_trait,
'life1: 'async_trait,
ListFilesTool: '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
'life0: 'async_trait,
'life1: 'async_trait,
ListFilesTool: 'async_trait,
Execution perspective: run this tool. Read more
Auto Trait Implementations§
impl Freeze for ListFilesTool
impl RefUnwindSafe for ListFilesTool
impl Send for ListFilesTool
impl Sync for ListFilesTool
impl Unpin for ListFilesTool
impl UnsafeUnpin for ListFilesTool
impl UnwindSafe for ListFilesTool
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