pub enum IndexParams {
KeywordIndexParams(KeywordIndexParams),
IntegerIndexParams(IntegerIndexParams),
FloatIndexParams(FloatIndexParams),
GeoIndexParams(GeoIndexParams),
TextIndexParams(TextIndexParams),
BoolIndexParams(BoolIndexParams),
DatetimeIndexParams(DatetimeIndexParams),
UuidIndexParams(UuidIndexParams),
}
Variants§
KeywordIndexParams(KeywordIndexParams)
Parameters for keyword index
IntegerIndexParams(IntegerIndexParams)
Parameters for integer index
FloatIndexParams(FloatIndexParams)
Parameters for float index
GeoIndexParams(GeoIndexParams)
Parameters for geo index
TextIndexParams(TextIndexParams)
Parameters for text index
BoolIndexParams(BoolIndexParams)
Parameters for bool index
DatetimeIndexParams(DatetimeIndexParams)
Parameters for datetime index
UuidIndexParams(UuidIndexParams)
Parameters for uuid index
Implementations§
source§impl IndexParams
impl IndexParams
sourcepub fn merge(
field: &mut Option<IndexParams>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<IndexParams>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for IndexParams
impl Clone for IndexParams
source§fn clone(&self) -> IndexParams
fn clone(&self) -> IndexParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IndexParams
impl Debug for IndexParams
source§impl From<BoolIndexParams> for IndexParams
impl From<BoolIndexParams> for IndexParams
source§fn from(value: BoolIndexParams) -> Self
fn from(value: BoolIndexParams) -> Self
Converts to this type from the input type.
source§impl From<DatetimeIndexParams> for IndexParams
impl From<DatetimeIndexParams> for IndexParams
source§fn from(value: DatetimeIndexParams) -> Self
fn from(value: DatetimeIndexParams) -> Self
Converts to this type from the input type.
source§impl From<DatetimeIndexParamsBuilder> for IndexParams
impl From<DatetimeIndexParamsBuilder> for IndexParams
source§fn from(value: DatetimeIndexParamsBuilder) -> Self
fn from(value: DatetimeIndexParamsBuilder) -> Self
Converts to this type from the input type.
source§impl From<FloatIndexParams> for IndexParams
impl From<FloatIndexParams> for IndexParams
source§fn from(value: FloatIndexParams) -> Self
fn from(value: FloatIndexParams) -> Self
Converts to this type from the input type.
source§impl From<FloatIndexParamsBuilder> for IndexParams
impl From<FloatIndexParamsBuilder> for IndexParams
source§fn from(value: FloatIndexParamsBuilder) -> Self
fn from(value: FloatIndexParamsBuilder) -> Self
Converts to this type from the input type.
source§impl From<GeoIndexParams> for IndexParams
impl From<GeoIndexParams> for IndexParams
source§fn from(value: GeoIndexParams) -> Self
fn from(value: GeoIndexParams) -> Self
Converts to this type from the input type.
source§impl From<GeoIndexParamsBuilder> for IndexParams
impl From<GeoIndexParamsBuilder> for IndexParams
source§fn from(value: GeoIndexParamsBuilder) -> Self
fn from(value: GeoIndexParamsBuilder) -> Self
Converts to this type from the input type.
source§impl From<IndexParams> for PayloadIndexParams
impl From<IndexParams> for PayloadIndexParams
source§fn from(value: IndexParams) -> Self
fn from(value: IndexParams) -> Self
Converts to this type from the input type.
source§impl From<IntegerIndexParams> for IndexParams
impl From<IntegerIndexParams> for IndexParams
source§fn from(value: IntegerIndexParams) -> Self
fn from(value: IntegerIndexParams) -> Self
Converts to this type from the input type.
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<KeywordIndexParams> for IndexParams
impl From<KeywordIndexParams> for IndexParams
source§fn from(value: KeywordIndexParams) -> Self
fn from(value: KeywordIndexParams) -> Self
Converts to this type from the input type.
source§impl From<KeywordIndexParamsBuilder> for IndexParams
impl From<KeywordIndexParamsBuilder> for IndexParams
source§fn from(value: KeywordIndexParamsBuilder) -> Self
fn from(value: KeywordIndexParamsBuilder) -> Self
Converts to this type from the input type.
source§impl From<TextIndexParams> for IndexParams
impl From<TextIndexParams> for IndexParams
source§fn from(value: TextIndexParams) -> Self
fn from(value: TextIndexParams) -> Self
Converts to this type from the input type.
source§impl From<TextIndexParamsBuilder> for IndexParams
impl From<TextIndexParamsBuilder> for IndexParams
source§fn from(value: TextIndexParamsBuilder) -> Self
fn from(value: TextIndexParamsBuilder) -> Self
Converts to this type from the input type.
source§impl From<UuidIndexParams> for IndexParams
impl From<UuidIndexParams> for IndexParams
source§fn from(value: UuidIndexParams) -> Self
fn from(value: UuidIndexParams) -> Self
Converts to this type from the input type.
source§impl From<UuidIndexParamsBuilder> for IndexParams
impl From<UuidIndexParamsBuilder> for IndexParams
source§fn from(value: UuidIndexParamsBuilder) -> Self
fn from(value: UuidIndexParamsBuilder) -> Self
Converts to this type from the input type.
source§impl PartialEq for IndexParams
impl PartialEq for IndexParams
impl Copy for IndexParams
impl StructuralPartialEq for IndexParams
Auto Trait Implementations§
impl Freeze for IndexParams
impl RefUnwindSafe for IndexParams
impl Send for IndexParams
impl Sync for IndexParams
impl Unpin for IndexParams
impl UnwindSafe for IndexParams
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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