pub struct BooleanField<const MULTI: bool = false, const EXACT: bool = false, const FACET: bool = false, const CONFIGURED: bool = false> { /* private fields */ }Expand description
A Boolean field supporting exact matching and facets.
Implementations§
Source§impl BooleanField
impl BooleanField
Source§impl<const M: bool, const F: bool, const C: bool> BooleanField<M, false, F, C>
impl<const M: bool, const F: bool, const C: bool> BooleanField<M, false, F, C>
pub fn exact(self) -> BooleanField<M, true, F, true>
Source§impl<const M: bool, const E: bool, const C: bool> BooleanField<M, E, false, C>
impl<const M: bool, const E: bool, const C: bool> BooleanField<M, E, false, C>
pub fn facet(self) -> BooleanField<M, E, true, true>
Auto Trait Implementations§
impl<const MULTI: bool, const EXACT: bool, const FACET: bool, const CONFIGURED: bool> Freeze for BooleanField<MULTI, EXACT, FACET, CONFIGURED>
impl<const MULTI: bool, const EXACT: bool, const FACET: bool, const CONFIGURED: bool> RefUnwindSafe for BooleanField<MULTI, EXACT, FACET, CONFIGURED>
impl<const MULTI: bool, const EXACT: bool, const FACET: bool, const CONFIGURED: bool> Send for BooleanField<MULTI, EXACT, FACET, CONFIGURED>
impl<const MULTI: bool, const EXACT: bool, const FACET: bool, const CONFIGURED: bool> Sync for BooleanField<MULTI, EXACT, FACET, CONFIGURED>
impl<const MULTI: bool, const EXACT: bool, const FACET: bool, const CONFIGURED: bool> Unpin for BooleanField<MULTI, EXACT, FACET, CONFIGURED>
impl<const MULTI: bool, const EXACT: bool, const FACET: bool, const CONFIGURED: bool> UnsafeUnpin for BooleanField<MULTI, EXACT, FACET, CONFIGURED>
impl<const MULTI: bool, const EXACT: bool, const FACET: bool, const CONFIGURED: bool> UnwindSafe for BooleanField<MULTI, EXACT, FACET, CONFIGURED>
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