pub struct DetailedMatchResult<Q, C> {
pub query: Q,
pub candidate: C,
pub score: f64,
pub match_type: MatchType,
pub metric_scores: Vec<MetricScore>,
pub is_match: bool,
}Expand description
Detailed match analysis with all metric scores
Fields§
§query: Q§candidate: C§score: f64§match_type: MatchType§metric_scores: Vec<MetricScore>§is_match: boolTrait Implementations§
Source§impl<Q: Clone, C: Clone> Clone for DetailedMatchResult<Q, C>
impl<Q: Clone, C: Clone> Clone for DetailedMatchResult<Q, C>
Source§fn clone(&self) -> DetailedMatchResult<Q, C>
fn clone(&self) -> DetailedMatchResult<Q, C>
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<Q, C> Freeze for DetailedMatchResult<Q, C>
impl<Q, C> RefUnwindSafe for DetailedMatchResult<Q, C>where
Q: RefUnwindSafe,
C: RefUnwindSafe,
impl<Q, C> Send for DetailedMatchResult<Q, C>
impl<Q, C> Sync for DetailedMatchResult<Q, C>
impl<Q, C> Unpin for DetailedMatchResult<Q, C>
impl<Q, C> UnwindSafe for DetailedMatchResult<Q, C>where
Q: UnwindSafe,
C: UnwindSafe,
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