pub struct BoolQuery { /* private fields */ }
Implementations§
Source§impl BoolQuery
impl BoolQuery
pub fn new() -> BoolQuery
pub fn add_must<T>(&mut self, value: T)where
T: QueryTrait,
pub fn add_must_not<T>(&mut self, value: T)where
T: QueryTrait,
pub fn add_should<T>(&mut self, value: T)where
T: QueryTrait,
pub fn add_filter<T>(&mut self, value: T)where
T: QueryTrait,
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl QueryTrait for BoolQuery
impl QueryTrait for BoolQuery
Source§impl Serialize for BoolQuery
impl Serialize for BoolQuery
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for BoolQuery
impl RefUnwindSafe for BoolQuery
impl Send for BoolQuery
impl Sync for BoolQuery
impl Unpin for BoolQuery
impl UnwindSafe for BoolQuery
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