pub struct TextIndexParamsBuilder { /* private fields */ }
Expand description
Builder for TextIndexParams
.
Implementations§
source§impl TextIndexParamsBuilder
impl TextIndexParamsBuilder
sourcepub fn min_token_len(self, value: u64) -> Self
pub fn min_token_len(self, value: u64) -> Self
Minimal token length
sourcepub fn max_token_len(self, value: u64) -> Self
pub fn max_token_len(self, value: u64) -> Self
Maximal token length
source§impl TextIndexParamsBuilder
impl TextIndexParamsBuilder
sourcepub fn build(self) -> TextIndexParams
pub fn build(self) -> TextIndexParams
Builds the desired type. Can often be omitted.
source§impl TextIndexParamsBuilder
impl TextIndexParamsBuilder
pub fn new(tokenizer: TokenizerType) -> Self
Trait Implementations§
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<TextIndexParamsBuilder> for TextIndexParams
impl From<TextIndexParamsBuilder> for TextIndexParams
source§fn from(value: TextIndexParamsBuilder) -> Self
fn from(value: TextIndexParamsBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TextIndexParamsBuilder
impl RefUnwindSafe for TextIndexParamsBuilder
impl Send for TextIndexParamsBuilder
impl Sync for TextIndexParamsBuilder
impl Unpin for TextIndexParamsBuilder
impl UnwindSafe for TextIndexParamsBuilder
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