Enum EmbeddingSearchKind
pub enum EmbeddingSearchKind {
Exact,
Approximate,
Hybrid,
Filtered,
Reranked,
}Variants§
Implementations§
§impl EmbeddingSearchKind
impl EmbeddingSearchKind
Trait Implementations§
§impl Clone for EmbeddingSearchKind
impl Clone for EmbeddingSearchKind
§fn clone(&self) -> EmbeddingSearchKind
fn clone(&self) -> EmbeddingSearchKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for EmbeddingSearchKind
impl Debug for EmbeddingSearchKind
§impl Display for EmbeddingSearchKind
impl Display for EmbeddingSearchKind
§impl FromStr for EmbeddingSearchKind
impl FromStr for EmbeddingSearchKind
§type Err = EmbeddingError
type Err = EmbeddingError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<EmbeddingSearchKind, <EmbeddingSearchKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<EmbeddingSearchKind, <EmbeddingSearchKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for EmbeddingSearchKind
impl Hash for EmbeddingSearchKind
§impl Ord for EmbeddingSearchKind
impl Ord for EmbeddingSearchKind
§fn cmp(&self, other: &EmbeddingSearchKind) -> Ordering
fn cmp(&self, other: &EmbeddingSearchKind) -> Ordering
1.21.0 · 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
§impl PartialEq for EmbeddingSearchKind
impl PartialEq for EmbeddingSearchKind
§impl PartialOrd for EmbeddingSearchKind
impl PartialOrd for EmbeddingSearchKind
impl Copy for EmbeddingSearchKind
impl Eq for EmbeddingSearchKind
impl StructuralPartialEq for EmbeddingSearchKind
Auto Trait Implementations§
impl Freeze for EmbeddingSearchKind
impl RefUnwindSafe for EmbeddingSearchKind
impl Send for EmbeddingSearchKind
impl Sync for EmbeddingSearchKind
impl Unpin for EmbeddingSearchKind
impl UnsafeUnpin for EmbeddingSearchKind
impl UnwindSafe for EmbeddingSearchKind
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