pub struct MatchingConfig {
pub min_score: f64,
pub scoring_weights: ScoringWeights,
}Expand description
Configuration for the matching engine
Fields§
§min_score: f64Minimum score threshold for including matches in results
scoring_weights: ScoringWeightsCustom scoring weights
Trait Implementations§
Source§impl Clone for MatchingConfig
impl Clone for MatchingConfig
Source§fn clone(&self) -> MatchingConfig
fn clone(&self) -> MatchingConfig
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 moreSource§impl Debug for MatchingConfig
impl Debug for MatchingConfig
Auto Trait Implementations§
impl Freeze for MatchingConfig
impl RefUnwindSafe for MatchingConfig
impl Send for MatchingConfig
impl Sync for MatchingConfig
impl Unpin for MatchingConfig
impl UnwindSafe for MatchingConfig
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