pub struct ScrollPointsBuilder { /* private fields */ }
Expand description
Builder for ScrollPoints
.
Implementations§
source§impl ScrollPointsBuilder
impl ScrollPointsBuilder
pub fn collection_name(self, value: String) -> Self
sourcepub fn filter<VALUE: Into<Filter>>(self, value: VALUE) -> Self
pub fn filter<VALUE: Into<Filter>>(self, value: VALUE) -> Self
Filter conditions - return only those points that satisfy the specified conditions
sourcepub fn with_payload<VALUE: Into<SelectorOptions>>(self, value: VALUE) -> Self
pub fn with_payload<VALUE: Into<SelectorOptions>>(self, value: VALUE) -> Self
Options for specifying which payload to include or not
sourcepub fn with_vectors<VALUE: Into<SelectorOptions>>(self, value: VALUE) -> Self
pub fn with_vectors<VALUE: Into<SelectorOptions>>(self, value: VALUE) -> Self
Options for specifying which vectors to include into response
sourcepub fn read_consistency<VALUE: Into<Value>>(self, value: VALUE) -> Self
pub fn read_consistency<VALUE: Into<Value>>(self, value: VALUE) -> Self
Options for specifying read consistency guarantees
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 ScrollPointsBuilder
impl ScrollPointsBuilder
sourcepub fn build(self) -> ScrollPoints
pub fn build(self) -> ScrollPoints
Builds the desired type. Can often be omitted.
Trait Implementations§
source§impl From<ScrollPointsBuilder> for ScrollPoints
impl From<ScrollPointsBuilder> for ScrollPoints
source§fn from(value: ScrollPointsBuilder) -> Self
fn from(value: ScrollPointsBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ScrollPointsBuilder
impl RefUnwindSafe for ScrollPointsBuilder
impl Send for ScrollPointsBuilder
impl Sync for ScrollPointsBuilder
impl Unpin for ScrollPointsBuilder
impl UnwindSafe for ScrollPointsBuilder
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