pub struct SearchSignals {
pub bm25: Option<f32>,
pub dense: Option<f32>,
pub fusion: f32,
pub reranker: Option<f32>,
}Fields§
§bm25: Option<f32>§dense: Option<f32>§fusion: f32§reranker: Option<f32>Trait Implementations§
Source§impl Clone for SearchSignals
impl Clone for SearchSignals
Source§fn clone(&self) -> SearchSignals
fn clone(&self) -> SearchSignals
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SearchSignals
impl Debug for SearchSignals
Source§impl<'de> Deserialize<'de> for SearchSignals
impl<'de> Deserialize<'de> for SearchSignals
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SearchSignals
impl PartialEq for SearchSignals
Source§fn eq(&self, other: &SearchSignals) -> bool
fn eq(&self, other: &SearchSignals) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SearchSignals
impl Serialize for SearchSignals
impl StructuralPartialEq for SearchSignals
Auto Trait Implementations§
impl Freeze for SearchSignals
impl RefUnwindSafe for SearchSignals
impl Send for SearchSignals
impl Sync for SearchSignals
impl Unpin for SearchSignals
impl UnsafeUnpin for SearchSignals
impl UnwindSafe for SearchSignals
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