pub enum EmbeddingVectorFormat {
Dense,
Sparse,
Binary,
Quantized,
Mixed,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for EmbeddingVectorFormat
impl Clone for EmbeddingVectorFormat
Source§fn clone(&self) -> EmbeddingVectorFormat
fn clone(&self) -> EmbeddingVectorFormat
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 EmbeddingVectorFormat
impl Debug for EmbeddingVectorFormat
Source§impl Display for EmbeddingVectorFormat
impl Display for EmbeddingVectorFormat
Source§impl FromStr for EmbeddingVectorFormat
impl FromStr for EmbeddingVectorFormat
Source§type Err = EmbeddingError
type Err = EmbeddingError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<EmbeddingVectorFormat, <EmbeddingVectorFormat as FromStr>::Err>
fn from_str( value: &str, ) -> Result<EmbeddingVectorFormat, <EmbeddingVectorFormat as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for EmbeddingVectorFormat
impl Hash for EmbeddingVectorFormat
Source§impl Ord for EmbeddingVectorFormat
impl Ord for EmbeddingVectorFormat
Source§fn cmp(&self, other: &EmbeddingVectorFormat) -> Ordering
fn cmp(&self, other: &EmbeddingVectorFormat) -> 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 EmbeddingVectorFormat
impl PartialEq for EmbeddingVectorFormat
Source§fn eq(&self, other: &EmbeddingVectorFormat) -> bool
fn eq(&self, other: &EmbeddingVectorFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for EmbeddingVectorFormat
impl PartialOrd for EmbeddingVectorFormat
impl Copy for EmbeddingVectorFormat
impl Eq for EmbeddingVectorFormat
impl StructuralPartialEq for EmbeddingVectorFormat
Auto Trait Implementations§
impl Freeze for EmbeddingVectorFormat
impl RefUnwindSafe for EmbeddingVectorFormat
impl Send for EmbeddingVectorFormat
impl Sync for EmbeddingVectorFormat
impl Unpin for EmbeddingVectorFormat
impl UnsafeUnpin for EmbeddingVectorFormat
impl UnwindSafe for EmbeddingVectorFormat
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