pub struct UpsertPointsBuilder { /* private fields */ }
Expand description
Builder for UpsertPoints
.
Implementations§
source§impl UpsertPointsBuilder
impl UpsertPointsBuilder
sourcepub fn collection_name(self, value: String) -> Self
pub fn collection_name(self, value: String) -> Self
name of the collection
pub fn points(self, value: Vec<PointStruct>) -> Self
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 UpsertPointsBuilder
impl UpsertPointsBuilder
sourcepub fn build(self) -> UpsertPoints
pub fn build(self) -> UpsertPoints
Builds the desired type. Can often be omitted.
Trait Implementations§
source§impl From<UpsertPointsBuilder> for UpsertPoints
impl From<UpsertPointsBuilder> for UpsertPoints
source§fn from(value: UpsertPointsBuilder) -> Self
fn from(value: UpsertPointsBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UpsertPointsBuilder
impl RefUnwindSafe for UpsertPointsBuilder
impl Send for UpsertPointsBuilder
impl Sync for UpsertPointsBuilder
impl Unpin for UpsertPointsBuilder
impl UnwindSafe for UpsertPointsBuilder
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