pub struct VectorParamsDiffBuilder { /* private fields */ }
Expand description
Builder for VectorParamsDiff
.
Implementations§
source§impl VectorParamsDiffBuilder
impl VectorParamsDiffBuilder
sourcepub fn hnsw_config<VALUE: Into<HnswConfigDiff>>(self, value: VALUE) -> Self
pub fn hnsw_config<VALUE: Into<HnswConfigDiff>>(self, value: VALUE) -> Self
Update params for HNSW index. If empty object - it will be unset
sourcepub fn quantization_config<VALUE: Into<Quantization>>(
self,
value: VALUE,
) -> Self
pub fn quantization_config<VALUE: Into<Quantization>>( self, value: VALUE, ) -> Self
Update quantization params. If none - it is left unchanged.
source§impl VectorParamsDiffBuilder
impl VectorParamsDiffBuilder
sourcepub fn build(self) -> VectorParamsDiff
pub fn build(self) -> VectorParamsDiff
Builds the desired type. Can often be omitted.
Trait Implementations§
source§impl Default for VectorParamsDiffBuilder
impl Default for VectorParamsDiffBuilder
source§impl From<VectorParamsDiffBuilder> for Config
impl From<VectorParamsDiffBuilder> for Config
source§fn from(value: VectorParamsDiffBuilder) -> Self
fn from(value: VectorParamsDiffBuilder) -> Self
Converts to this type from the input type.
source§impl From<VectorParamsDiffBuilder> for VectorParamsDiff
impl From<VectorParamsDiffBuilder> for VectorParamsDiff
source§fn from(value: VectorParamsDiffBuilder) -> Self
fn from(value: VectorParamsDiffBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VectorParamsDiffBuilder
impl RefUnwindSafe for VectorParamsDiffBuilder
impl Send for VectorParamsDiffBuilder
impl Sync for VectorParamsDiffBuilder
impl Unpin for VectorParamsDiffBuilder
impl UnwindSafe for VectorParamsDiffBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request