pub struct CodeAnalyzerTool { /* private fields */ }
Expand description
代码分析工具
Implementations§
Trait Implementations§
Source§impl Clone for CodeAnalyzerTool
impl Clone for CodeAnalyzerTool
Source§fn clone(&self) -> CodeAnalyzerTool
fn clone(&self) -> CodeAnalyzerTool
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CodeAnalyzerTool
impl Debug for CodeAnalyzerTool
Source§impl Tool for CodeAnalyzerTool
impl Tool for CodeAnalyzerTool
Source§type Error = CodeAnalyzerToolError
type Error = CodeAnalyzerToolError
The error type of the tool.
Source§type Args = CodeAnalyzerArgs
type Args = CodeAnalyzerArgs
The arguments type of the tool.
Source§type Output = CodeAnalyzerResult
type Output = CodeAnalyzerResult
The output 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 CodeAnalyzerTool
impl RefUnwindSafe for CodeAnalyzerTool
impl Send for CodeAnalyzerTool
impl Sync for CodeAnalyzerTool
impl Unpin for CodeAnalyzerTool
impl UnwindSafe for CodeAnalyzerTool
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