pub enum RerankMode {
Local,
External,
Disabled,
}Expand description
Rerank backend requested for the hybrid retrieval candidate set.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RerankMode
impl Clone for RerankMode
Source§fn clone(&self) -> RerankMode
fn clone(&self) -> RerankMode
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 RerankMode
impl Debug for RerankMode
Source§impl<'de> Deserialize<'de> for RerankMode
impl<'de> Deserialize<'de> for RerankMode
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 RerankMode
impl PartialEq for RerankMode
Source§fn eq(&self, other: &RerankMode) -> bool
fn eq(&self, other: &RerankMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RerankMode
impl Serialize for RerankMode
impl Copy for RerankMode
impl Eq for RerankMode
impl StructuralPartialEq for RerankMode
Auto Trait Implementations§
impl Freeze for RerankMode
impl RefUnwindSafe for RerankMode
impl Send for RerankMode
impl Sync for RerankMode
impl Unpin for RerankMode
impl UnsafeUnpin for RerankMode
impl UnwindSafe for RerankMode
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