Enum EmbeddingVectorFormat
pub enum EmbeddingVectorFormat {
Dense,
Sparse,
Binary,
Quantized,
Mixed,
}Variants§
Implementations§
Trait Implementations§
§impl Clone for EmbeddingVectorFormat
impl Clone for EmbeddingVectorFormat
§fn clone(&self) -> EmbeddingVectorFormat
fn clone(&self) -> EmbeddingVectorFormat
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 EmbeddingVectorFormat
impl Debug for EmbeddingVectorFormat
§impl Display for EmbeddingVectorFormat
impl Display for EmbeddingVectorFormat
§impl FromStr for EmbeddingVectorFormat
impl FromStr for EmbeddingVectorFormat
§type Err = EmbeddingError
type Err = EmbeddingError
The associated error which can be returned from parsing.
§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 more§impl Hash for EmbeddingVectorFormat
impl Hash for EmbeddingVectorFormat
§impl Ord for EmbeddingVectorFormat
impl Ord for EmbeddingVectorFormat
§fn cmp(&self, other: &EmbeddingVectorFormat) -> Ordering
fn cmp(&self, other: &EmbeddingVectorFormat) -> 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 EmbeddingVectorFormat
impl PartialEq for EmbeddingVectorFormat
§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