pub struct WrappedCreateDirectoryTool { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Default for WrappedCreateDirectoryTool
impl Default for WrappedCreateDirectoryTool
Source§fn default() -> WrappedCreateDirectoryTool
fn default() -> WrappedCreateDirectoryTool
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WrappedCreateDirectoryTool
impl<'de> Deserialize<'de> for WrappedCreateDirectoryTool
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Tool for WrappedCreateDirectoryTool
impl Tool for WrappedCreateDirectoryTool
Source§type Error = FileToolError
type Error = FileToolError
The error type of the tool.
Source§async fn definition(&self, prompt: String) -> ToolDefinition
async fn definition(&self, prompt: String) -> ToolDefinition
A method returning the tool definition. The user prompt can be used to
tailor the definition to the specific use case.
Auto Trait Implementations§
impl Freeze for WrappedCreateDirectoryTool
impl RefUnwindSafe for WrappedCreateDirectoryTool
impl Send for WrappedCreateDirectoryTool
impl Sync for WrappedCreateDirectoryTool
impl Unpin for WrappedCreateDirectoryTool
impl UnsafeUnpin for WrappedCreateDirectoryTool
impl UnwindSafe for WrappedCreateDirectoryTool
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