pub struct DiscoveryResult {
pub name: String,
pub match_score: f64,
pub recommendation_reason: String,
pub metadata: EnhancedToolMetadata,
pub is_deprecated: bool,
pub is_enabled: bool,
}
Expand description
Tool discovery result with ranking information
Fields§
§name: String
Tool name
match_score: f64
Match score (0.0 to 1.0, higher is better)
recommendation_reason: String
Reason for recommendation
metadata: EnhancedToolMetadata
Tool metadata snapshot
is_deprecated: bool
Whether tool is deprecated
is_enabled: bool
Whether tool is enabled
Trait Implementations§
Source§impl Clone for DiscoveryResult
impl Clone for DiscoveryResult
Source§fn clone(&self) -> DiscoveryResult
fn clone(&self) -> DiscoveryResult
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 DiscoveryResult
impl RefUnwindSafe for DiscoveryResult
impl Send for DiscoveryResult
impl Sync for DiscoveryResult
impl Unpin for DiscoveryResult
impl UnwindSafe for DiscoveryResult
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