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