pub struct RelevanceConfig {
pub query_relevance_weight: f32,
pub context_relevance_weight: f32,
pub topic_drift_penalty: f32,
}Fields§
§query_relevance_weight: f32§context_relevance_weight: f32§topic_drift_penalty: f32Trait Implementations§
Source§impl Clone for RelevanceConfig
impl Clone for RelevanceConfig
Source§fn clone(&self) -> RelevanceConfig
fn clone(&self) -> RelevanceConfig
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 RelevanceConfig
impl Debug for RelevanceConfig
Auto Trait Implementations§
impl Freeze for RelevanceConfig
impl RefUnwindSafe for RelevanceConfig
impl Send for RelevanceConfig
impl Sync for RelevanceConfig
impl Unpin for RelevanceConfig
impl UnwindSafe for RelevanceConfig
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