pub struct SparseVectorsConfigBuilder { /* private fields */ }
Implementations§
source§impl SparseVectorsConfigBuilder
impl SparseVectorsConfigBuilder
sourcepub fn add_named_vector_params(
&mut self,
name: impl Into<String>,
params: impl Into<SparseVectorParams>,
) -> &mut Self
pub fn add_named_vector_params( &mut self, name: impl Into<String>, params: impl Into<SparseVectorParams>, ) -> &mut Self
Add a named vector with the given parameters
Trait Implementations§
source§impl Clone for SparseVectorsConfigBuilder
impl Clone for SparseVectorsConfigBuilder
source§fn clone(&self) -> SparseVectorsConfigBuilder
fn clone(&self) -> SparseVectorsConfigBuilder
Returns a copy 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 SparseVectorsConfigBuilder
impl Debug for SparseVectorsConfigBuilder
source§impl Default for SparseVectorsConfigBuilder
impl Default for SparseVectorsConfigBuilder
source§fn default() -> SparseVectorsConfigBuilder
fn default() -> SparseVectorsConfigBuilder
Returns the “default value” for a type. Read more
source§impl From<SparseVectorsConfigBuilder> for SparseVectorConfig
impl From<SparseVectorsConfigBuilder> for SparseVectorConfig
source§fn from(builder: SparseVectorsConfigBuilder) -> Self
fn from(builder: SparseVectorsConfigBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SparseVectorsConfigBuilder
impl RefUnwindSafe for SparseVectorsConfigBuilder
impl Send for SparseVectorsConfigBuilder
impl Sync for SparseVectorsConfigBuilder
impl Unpin for SparseVectorsConfigBuilder
impl UnwindSafe for SparseVectorsConfigBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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