pub struct ToolFilterResult {
pub included: HashSet<String>,
pub excluded: Vec<String>,
pub scores: Vec<(String, f32)>,
pub inclusion_reasons: Vec<(String, InclusionReason)>,
pub dependency_exclusions: Vec<DependencyExclusion>,
}Expand description
Result of filtering tool schemas against a query.
Fields§
§included: HashSet<String>Tool IDs that passed the filter.
excluded: Vec<String>Tool IDs that were filtered out by similarity/embedding.
scores: Vec<(String, f32)>Per-tool similarity scores for filterable tools (sorted descending).
inclusion_reasons: Vec<(String, InclusionReason)>Reason each included tool was included.
dependency_exclusions: Vec<DependencyExclusion>Tools excluded specifically due to unmet hard dependencies.
Trait Implementations§
Source§impl Clone for ToolFilterResult
impl Clone for ToolFilterResult
Source§fn clone(&self) -> ToolFilterResult
fn clone(&self) -> ToolFilterResult
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 ToolFilterResult
impl RefUnwindSafe for ToolFilterResult
impl Send for ToolFilterResult
impl Sync for ToolFilterResult
impl Unpin for ToolFilterResult
impl UnsafeUnpin for ToolFilterResult
impl UnwindSafe for ToolFilterResult
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