Enum RerankStrategy
pub enum RerankStrategy {
None,
Mmr {
lambda: f64,
},
}Expand description
Advanced rerank strategy.
Variants§
Trait Implementations§
Source§impl Clone for RerankStrategy
impl Clone for RerankStrategy
Source§fn clone(&self) -> RerankStrategy
fn clone(&self) -> RerankStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RerankStrategy
impl Debug for RerankStrategy
Source§impl PartialEq for RerankStrategy
impl PartialEq for RerankStrategy
impl Copy for RerankStrategy
impl StructuralPartialEq for RerankStrategy
Auto Trait Implementations§
impl Freeze for RerankStrategy
impl RefUnwindSafe for RerankStrategy
impl Send for RerankStrategy
impl Sync for RerankStrategy
impl Unpin for RerankStrategy
impl UnsafeUnpin for RerankStrategy
impl UnwindSafe for RerankStrategy
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more