pub struct FieldConfig {
pub field: String,
pub params: BayesianBM25Params,
pub weight: f64,
}Expand description
One scored field configuration.
Fields§
§field: String§params: BayesianBM25Params§weight: f64Trait Implementations§
Source§impl Clone for FieldConfig
impl Clone for FieldConfig
Auto Trait Implementations§
impl Freeze for FieldConfig
impl RefUnwindSafe for FieldConfig
impl Send for FieldConfig
impl Sync for FieldConfig
impl Unpin for FieldConfig
impl UnsafeUnpin for FieldConfig
impl UnwindSafe for FieldConfig
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