pub struct StrictModeConfigBuilder { /* private fields */ }
Expand description
Builder for StrictModeConfig
.
Implementations§
source§impl StrictModeConfigBuilder
impl StrictModeConfigBuilder
pub fn enabled(self, value: bool) -> Self
pub fn max_query_limit(self, value: u32) -> Self
pub fn max_timeout(self, value: u32) -> Self
pub fn unindexed_filtering_retrieve(self, value: bool) -> Self
pub fn unindexed_filtering_update(self, value: bool) -> Self
pub fn search_max_hnsw_ef(self, value: u32) -> Self
pub fn search_allow_exact(self, value: bool) -> Self
pub fn search_max_oversampling(self, value: f32) -> Self
source§impl StrictModeConfigBuilder
impl StrictModeConfigBuilder
sourcepub fn build(self) -> StrictModeConfig
pub fn build(self) -> StrictModeConfig
Builds the desired type. Can often be omitted.
Trait Implementations§
source§impl Default for StrictModeConfigBuilder
impl Default for StrictModeConfigBuilder
source§impl From<StrictModeConfigBuilder> for StrictModeConfig
impl From<StrictModeConfigBuilder> for StrictModeConfig
source§fn from(value: StrictModeConfigBuilder) -> Self
fn from(value: StrictModeConfigBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StrictModeConfigBuilder
impl RefUnwindSafe for StrictModeConfigBuilder
impl Send for StrictModeConfigBuilder
impl Sync for StrictModeConfigBuilder
impl Unpin for StrictModeConfigBuilder
impl UnwindSafe for StrictModeConfigBuilder
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