pub struct MultiVectorConfigBuilder { /* private fields */ }
Expand description
Builder for MultiVectorConfig
.
Implementations§
source§impl MultiVectorConfigBuilder
impl MultiVectorConfigBuilder
sourcepub fn comparator<VALUE: Into<i32>>(self, value: VALUE) -> Self
pub fn comparator<VALUE: Into<i32>>(self, value: VALUE) -> Self
Comparator for multi-vector search
source§impl MultiVectorConfigBuilder
impl MultiVectorConfigBuilder
sourcepub fn build(self) -> MultiVectorConfig
pub fn build(self) -> MultiVectorConfig
Builds the desired type. Can often be omitted.
source§impl MultiVectorConfigBuilder
impl MultiVectorConfigBuilder
pub fn new(comparator: impl Into<MultiVectorComparator>) -> Self
Trait Implementations§
source§impl From<MultiVectorConfigBuilder> for MultiVectorConfig
impl From<MultiVectorConfigBuilder> for MultiVectorConfig
source§fn from(value: MultiVectorConfigBuilder) -> Self
fn from(value: MultiVectorConfigBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MultiVectorConfigBuilder
impl RefUnwindSafe for MultiVectorConfigBuilder
impl Send for MultiVectorConfigBuilder
impl Sync for MultiVectorConfigBuilder
impl Unpin for MultiVectorConfigBuilder
impl UnwindSafe for MultiVectorConfigBuilder
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