Struct os_query_builder_rs::compound_query::boolean::bool::Bool
source · pub struct Bool { /* private fields */ }Implementations§
source§impl Bool
impl Bool
pub fn new() -> Self
pub fn must<T, F>(self, must_value: F) -> Self
pub fn must_not<T, F>(self, must_value: F) -> Self
pub fn should<T, F>(self, must_value: F) -> Self
pub fn filter<T, F>(self, filter_values: F) -> Self
pub fn minimum_should_match<T: Into<usize>>( self, minimum_should_match: T, ) -> Self
Trait Implementations§
source§impl From<Bool> for CompoundQueryBoolean
impl From<Bool> for CompoundQueryBoolean
source§impl From<Bool> for QueryField
impl From<Bool> for QueryField
Auto Trait Implementations§
impl Freeze for Bool
impl RefUnwindSafe for Bool
impl Send for Bool
impl Sync for Bool
impl Unpin for Bool
impl UnwindSafe for Bool
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)