pub enum RagRankerKind {
None,
Score,
Reranker,
CrossEncoder,
Diversity,
Recency,
Custom,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RagRankerKind
impl Clone for RagRankerKind
Source§fn clone(&self) -> RagRankerKind
fn clone(&self) -> RagRankerKind
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 RagRankerKind
impl Debug for RagRankerKind
Source§impl Display for RagRankerKind
impl Display for RagRankerKind
Source§impl FromStr for RagRankerKind
impl FromStr for RagRankerKind
Source§impl Hash for RagRankerKind
impl Hash for RagRankerKind
Source§impl Ord for RagRankerKind
impl Ord for RagRankerKind
Source§fn cmp(&self, other: &RagRankerKind) -> Ordering
fn cmp(&self, other: &RagRankerKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RagRankerKind
impl PartialEq for RagRankerKind
Source§fn eq(&self, other: &RagRankerKind) -> bool
fn eq(&self, other: &RagRankerKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RagRankerKind
impl PartialOrd for RagRankerKind
impl Copy for RagRankerKind
impl Eq for RagRankerKind
impl StructuralPartialEq for RagRankerKind
Auto Trait Implementations§
impl Freeze for RagRankerKind
impl RefUnwindSafe for RagRankerKind
impl Send for RagRankerKind
impl Sync for RagRankerKind
impl Unpin for RagRankerKind
impl UnsafeUnpin for RagRankerKind
impl UnwindSafe for RagRankerKind
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