pub enum PersistedVectorMetric {
Cosine,
L2,
Inner,
}Variants§
Trait Implementations§
Source§impl Clone for PersistedVectorMetric
impl Clone for PersistedVectorMetric
Source§fn clone(&self) -> PersistedVectorMetric
fn clone(&self) -> PersistedVectorMetric
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 moreSource§impl Debug for PersistedVectorMetric
impl Debug for PersistedVectorMetric
Source§impl<'de> Deserialize<'de> for PersistedVectorMetric
impl<'de> Deserialize<'de> for PersistedVectorMetric
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 From<PersistedVectorMetric> for VectorMetric
impl From<PersistedVectorMetric> for VectorMetric
Source§fn from(value: PersistedVectorMetric) -> Self
fn from(value: PersistedVectorMetric) -> Self
Converts to this type from the input type.
Source§impl From<VectorMetric> for PersistedVectorMetric
impl From<VectorMetric> for PersistedVectorMetric
Source§fn from(value: VectorMetric) -> Self
fn from(value: VectorMetric) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PersistedVectorMetric
impl PartialEq for PersistedVectorMetric
Source§impl Serialize for PersistedVectorMetric
impl Serialize for PersistedVectorMetric
impl Eq for PersistedVectorMetric
impl StructuralPartialEq for PersistedVectorMetric
Auto Trait Implementations§
impl Freeze for PersistedVectorMetric
impl RefUnwindSafe for PersistedVectorMetric
impl Send for PersistedVectorMetric
impl Sync for PersistedVectorMetric
impl Unpin for PersistedVectorMetric
impl UnwindSafe for PersistedVectorMetric
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