pub struct ToolMatch<'a> {
pub tool_name: String,
pub start: usize,
pub end: usize,
pub text: &'a str,
pub category: String,
pub confidence: f32,
}Expand description
Represents a tool match found in text
Fields§
§tool_name: StringThe name of the matched tool
start: usizeStart position in the text
end: usizeEnd position in the text
text: &'a strThe matched text
category: StringCategory of the tool
confidence: f32Confidence score (0.0 - 1.0)
Trait Implementations§
impl<'a> StructuralPartialEq for ToolMatch<'a>
Auto Trait Implementations§
impl<'a> Freeze for ToolMatch<'a>
impl<'a> RefUnwindSafe for ToolMatch<'a>
impl<'a> Send for ToolMatch<'a>
impl<'a> Sync for ToolMatch<'a>
impl<'a> Unpin for ToolMatch<'a>
impl<'a> UnsafeUnpin for ToolMatch<'a>
impl<'a> UnwindSafe for ToolMatch<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more