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