pub struct LookupLocationBuilder { /* private fields */ }
Expand description
Builder for LookupLocation
.
Implementations§
source§impl LookupLocationBuilder
impl LookupLocationBuilder
pub fn collection_name(self, value: String) -> Self
sourcepub fn vector_name<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn vector_name<VALUE: Into<String>>(self, value: VALUE) -> Self
Which vector to use for search, if not specified - use default vector
sourcepub fn shard_key_selector<VALUE: Into<ShardKeySelector>>(
self,
value: VALUE,
) -> Self
pub fn shard_key_selector<VALUE: Into<ShardKeySelector>>( self, value: VALUE, ) -> Self
Specify in which shards to look for the points, if not specified - look in all shards
source§impl LookupLocationBuilder
impl LookupLocationBuilder
sourcepub fn build(self) -> LookupLocation
pub fn build(self) -> LookupLocation
Builds the desired type. Can often be omitted.
Trait Implementations§
source§impl From<LookupLocationBuilder> for LookupLocation
impl From<LookupLocationBuilder> for LookupLocation
source§fn from(value: LookupLocationBuilder) -> Self
fn from(value: LookupLocationBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LookupLocationBuilder
impl RefUnwindSafe for LookupLocationBuilder
impl Send for LookupLocationBuilder
impl Sync for LookupLocationBuilder
impl Unpin for LookupLocationBuilder
impl UnwindSafe for LookupLocationBuilder
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