pub struct VectorIndexOptions {
pub metric: VectorMetric,
pub quantization: VectorQuantization,
}Expand description
Construction options for VectorIndex.
Fields§
§metric: VectorMetric§quantization: VectorQuantizationTrait Implementations§
Source§impl Clone for VectorIndexOptions
impl Clone for VectorIndexOptions
Source§fn clone(&self) -> VectorIndexOptions
fn clone(&self) -> VectorIndexOptions
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 moreimpl Copy for VectorIndexOptions
Source§impl Debug for VectorIndexOptions
impl Debug for VectorIndexOptions
Source§impl Default for VectorIndexOptions
impl Default for VectorIndexOptions
Source§fn default() -> VectorIndexOptions
fn default() -> VectorIndexOptions
Returns the “default value” for a type. Read more
impl Eq for VectorIndexOptions
Source§impl PartialEq for VectorIndexOptions
impl PartialEq for VectorIndexOptions
Source§fn eq(&self, other: &VectorIndexOptions) -> bool
fn eq(&self, other: &VectorIndexOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VectorIndexOptions
Auto Trait Implementations§
impl Freeze for VectorIndexOptions
impl RefUnwindSafe for VectorIndexOptions
impl Send for VectorIndexOptions
impl Sync for VectorIndexOptions
impl Unpin for VectorIndexOptions
impl UnsafeUnpin for VectorIndexOptions
impl UnwindSafe for VectorIndexOptions
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