pub enum TermsQueryIn {
Values(Vec<JsonVal>),
Lookup(TermsQueryLookup),
}Expand description
TermsQueryIn
Variants§
Values(Vec<JsonVal>)
A Vec of values
Lookup(TermsQueryLookup)
An indirect reference to another document
Trait Implementations§
Source§impl Debug for TermsQueryIn
impl Debug for TermsQueryIn
Source§impl Default for TermsQueryIn
impl Default for TermsQueryIn
Source§impl<'a, A> From<&'a [A]> for TermsQueryInwhere
A: JsonPotential,
impl<'a, A> From<&'a [A]> for TermsQueryInwhere
A: JsonPotential,
Source§impl From<TermsQueryLookup> for TermsQueryIn
impl From<TermsQueryLookup> for TermsQueryIn
Source§fn from(from: TermsQueryLookup) -> TermsQueryIn
fn from(from: TermsQueryLookup) -> TermsQueryIn
Converts to this type from the input type.
Source§impl<A> From<Vec<A>> for TermsQueryInwhere
A: JsonPotential,
impl<A> From<Vec<A>> for TermsQueryInwhere
A: JsonPotential,
Source§fn from(from: Vec<A>) -> TermsQueryIn
fn from(from: Vec<A>) -> TermsQueryIn
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TermsQueryIn
impl RefUnwindSafe for TermsQueryIn
impl Send for TermsQueryIn
impl Sync for TermsQueryIn
impl Unpin for TermsQueryIn
impl UnwindSafe for TermsQueryIn
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