pub struct SetPayloadPointsBuilder { /* private fields */ }
Expand description
Builder for SetPayloadPoints
.
Implementations§
source§impl SetPayloadPointsBuilder
impl SetPayloadPointsBuilder
sourcepub fn collection_name(self, value: String) -> Self
pub fn collection_name(self, value: String) -> Self
name of the collection
sourcepub fn points_selector<VALUE: Into<PointsSelectorOneOf>>(
self,
value: VALUE,
) -> Self
pub fn points_selector<VALUE: Into<PointsSelectorOneOf>>( self, value: VALUE, ) -> Self
Affected points
sourcepub fn ordering<VALUE: Into<WriteOrdering>>(self, value: VALUE) -> Self
pub fn ordering<VALUE: Into<WriteOrdering>>(self, value: VALUE) -> Self
Write ordering 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
Option for custom sharding to specify used shard keys
source§impl SetPayloadPointsBuilder
impl SetPayloadPointsBuilder
sourcepub fn build(self) -> SetPayloadPoints
pub fn build(self) -> SetPayloadPoints
Builds the desired type. Can often be omitted.
Trait Implementations§
source§impl From<SetPayloadPointsBuilder> for SetPayloadPoints
impl From<SetPayloadPointsBuilder> for SetPayloadPoints
source§fn from(value: SetPayloadPointsBuilder) -> Self
fn from(value: SetPayloadPointsBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SetPayloadPointsBuilder
impl RefUnwindSafe for SetPayloadPointsBuilder
impl Send for SetPayloadPointsBuilder
impl Sync for SetPayloadPointsBuilder
impl Unpin for SetPayloadPointsBuilder
impl UnwindSafe for SetPayloadPointsBuilder
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