pub struct ArchitectureDetectorTool { /* private fields */ }
Expand description
架构检测工具
Implementations§
Trait Implementations§
Source§impl Clone for ArchitectureDetectorTool
impl Clone for ArchitectureDetectorTool
Source§fn clone(&self) -> ArchitectureDetectorTool
fn clone(&self) -> ArchitectureDetectorTool
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 ArchitectureDetectorTool
impl Debug for ArchitectureDetectorTool
Source§impl Tool for ArchitectureDetectorTool
impl Tool for ArchitectureDetectorTool
Source§const NAME: &'static str = "architecture_detector"
const NAME: &'static str = "architecture_detector"
The name of the tool. This name should be unique.
Source§type Error = ArchitectureDetectorToolError
type Error = ArchitectureDetectorToolError
The error type of the tool.
Source§type Args = ArchitectureDetectorArgs
type Args = ArchitectureDetectorArgs
The arguments type of the tool.
Source§type Output = ArchitectureDetectorResult
type Output = ArchitectureDetectorResult
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 ArchitectureDetectorTool
impl RefUnwindSafe for ArchitectureDetectorTool
impl Send for ArchitectureDetectorTool
impl Sync for ArchitectureDetectorTool
impl Unpin for ArchitectureDetectorTool
impl UnwindSafe for ArchitectureDetectorTool
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