pub struct CollectionConfig {
pub vectors: Option<Box<VectorsConfig>>,
pub hnsw: Option<Box<HnswRuntimeConfig>>,
pub optimizers: Option<Box<OptimizersRuntimeConfig>>,
pub params: Option<Box<CollectionParamsConfig>>,
pub quantization: Option<Box<QuantizationConfig>>,
pub quantization_update: Option<Box<QuantizationUpdate>>,
}Fields§
§vectors: Option<Box<VectorsConfig>>§hnsw: Option<Box<HnswRuntimeConfig>>§optimizers: Option<Box<OptimizersRuntimeConfig>>§params: Option<Box<CollectionParamsConfig>>§quantization: Option<Box<QuantizationConfig>>§quantization_update: Option<Box<QuantizationUpdate>>Trait Implementations§
Source§impl Clone for CollectionConfig
impl Clone for CollectionConfig
Source§fn clone(&self) -> CollectionConfig
fn clone(&self) -> CollectionConfig
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 CollectionConfig
impl Debug for CollectionConfig
Source§impl PartialEq for CollectionConfig
impl PartialEq for CollectionConfig
impl StructuralPartialEq for CollectionConfig
Auto Trait Implementations§
impl Freeze for CollectionConfig
impl RefUnwindSafe for CollectionConfig
impl Send for CollectionConfig
impl Sync for CollectionConfig
impl Unpin for CollectionConfig
impl UnsafeUnpin for CollectionConfig
impl UnwindSafe for CollectionConfig
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