pub struct ToolSupportDetection {
pub supports_tool_calling: bool,
pub confidence: f32,
pub detected_format: Option<ToolFormat>,
}Expand description
Result of tool support detection.
Fields§
§supports_tool_calling: boolWhether the model likely supports tool/function calling.
confidence: f32Confidence level (0.0 = unknown/no support, 1.0 = certain support).
detected_format: Option<ToolFormat>Detected tool calling format, if identified.
Trait Implementations§
Source§impl Clone for ToolSupportDetection
impl Clone for ToolSupportDetection
Source§fn clone(&self) -> ToolSupportDetection
fn clone(&self) -> ToolSupportDetection
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 moreAuto Trait Implementations§
impl Freeze for ToolSupportDetection
impl RefUnwindSafe for ToolSupportDetection
impl Send for ToolSupportDetection
impl Sync for ToolSupportDetection
impl Unpin for ToolSupportDetection
impl UnwindSafe for ToolSupportDetection
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