pub struct TermsQuery(/* private fields */);Expand description
Terms Query
Implementations§
Source§impl TermsQuery
impl TermsQuery
pub fn with_values<T>(self, values: T) -> Selfwhere
T: Into<TermsQueryIn>,
pub fn build(self) -> Query
Trait Implementations§
Source§impl Debug for TermsQuery
impl Debug for TermsQuery
Auto Trait Implementations§
impl Freeze for TermsQuery
impl RefUnwindSafe for TermsQuery
impl Send for TermsQuery
impl Sync for TermsQuery
impl Unpin for TermsQuery
impl UnwindSafe for TermsQuery
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more