pub struct IntegerIndexParamsBuilder { /* private fields */ }
Expand description
Builder for IntegerIndexParams
.
Implementations§
source§impl IntegerIndexParamsBuilder
impl IntegerIndexParamsBuilder
sourcepub fn is_principal(self, value: bool) -> Self
pub fn is_principal(self, value: bool) -> Self
If true - use this key to organize storage of the collection data. This option assumes that this key will be used in majority of filtered requests.
source§impl IntegerIndexParamsBuilder
impl IntegerIndexParamsBuilder
sourcepub fn build(self) -> IntegerIndexParams
pub fn build(self) -> IntegerIndexParams
Builds the desired type. Can often be omitted.
Trait Implementations§
source§impl From<IntegerIndexParamsBuilder> for IndexParams
impl From<IntegerIndexParamsBuilder> for IndexParams
source§fn from(value: IntegerIndexParamsBuilder) -> Self
fn from(value: IntegerIndexParamsBuilder) -> Self
Converts to this type from the input type.
source§impl From<IntegerIndexParamsBuilder> for IntegerIndexParams
impl From<IntegerIndexParamsBuilder> for IntegerIndexParams
source§fn from(value: IntegerIndexParamsBuilder) -> Self
fn from(value: IntegerIndexParamsBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IntegerIndexParamsBuilder
impl RefUnwindSafe for IntegerIndexParamsBuilder
impl Send for IntegerIndexParamsBuilder
impl Sync for IntegerIndexParamsBuilder
impl Unpin for IntegerIndexParamsBuilder
impl UnwindSafe for IntegerIndexParamsBuilder
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