Enum elasticsearch_dsl::search::queries::span::MultiTermQuery
source · pub enum MultiTermQuery {
Prefix(PrefixQuery),
Regexp(RegexpQuery),
Wildcard(WildcardQuery),
Range(RangeQuery),
Fuzzy(FuzzyQuery),
}
Expand description
A container enum for supported Elasticsearch query types
Variants§
Prefix(PrefixQuery)
Regexp(RegexpQuery)
Wildcard(WildcardQuery)
Range(RangeQuery)
Fuzzy(FuzzyQuery)
Trait Implementations§
source§impl Clone for MultiTermQuery
impl Clone for MultiTermQuery
source§fn clone(&self) -> MultiTermQuery
fn clone(&self) -> MultiTermQuery
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MultiTermQuery
impl Debug for MultiTermQuery
source§impl From<FuzzyQuery> for MultiTermQuery
impl From<FuzzyQuery> for MultiTermQuery
source§fn from(q: FuzzyQuery) -> Self
fn from(q: FuzzyQuery) -> Self
Converts to this type from the input type.
source§impl From<PrefixQuery> for MultiTermQuery
impl From<PrefixQuery> for MultiTermQuery
source§fn from(q: PrefixQuery) -> Self
fn from(q: PrefixQuery) -> Self
Converts to this type from the input type.
source§impl From<RangeQuery> for MultiTermQuery
impl From<RangeQuery> for MultiTermQuery
source§fn from(q: RangeQuery) -> Self
fn from(q: RangeQuery) -> Self
Converts to this type from the input type.
source§impl From<RegexpQuery> for MultiTermQuery
impl From<RegexpQuery> for MultiTermQuery
source§fn from(q: RegexpQuery) -> Self
fn from(q: RegexpQuery) -> Self
Converts to this type from the input type.
source§impl From<WildcardQuery> for MultiTermQuery
impl From<WildcardQuery> for MultiTermQuery
source§fn from(q: WildcardQuery) -> Self
fn from(q: WildcardQuery) -> Self
Converts to this type from the input type.
source§impl IntoIterator for MultiTermQuery
impl IntoIterator for MultiTermQuery
§type Item = MultiTermQuery
type Item = MultiTermQuery
The type of the elements being iterated over.
§type IntoIter = IntoIter<<MultiTermQuery as IntoIterator>::Item>
type IntoIter = IntoIter<<MultiTermQuery as IntoIterator>::Item>
Which kind of iterator are we turning this into?
source§impl PartialEq<FuzzyQuery> for MultiTermQuery
impl PartialEq<FuzzyQuery> for MultiTermQuery
source§fn eq(&self, other: &FuzzyQuery) -> bool
fn eq(&self, other: &FuzzyQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<MultiTermQuery> for FuzzyQuery
impl PartialEq<MultiTermQuery> for FuzzyQuery
source§fn eq(&self, other: &MultiTermQuery) -> bool
fn eq(&self, other: &MultiTermQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<MultiTermQuery> for PrefixQuery
impl PartialEq<MultiTermQuery> for PrefixQuery
source§fn eq(&self, other: &MultiTermQuery) -> bool
fn eq(&self, other: &MultiTermQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<MultiTermQuery> for RangeQuery
impl PartialEq<MultiTermQuery> for RangeQuery
source§fn eq(&self, other: &MultiTermQuery) -> bool
fn eq(&self, other: &MultiTermQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<MultiTermQuery> for RegexpQuery
impl PartialEq<MultiTermQuery> for RegexpQuery
source§fn eq(&self, other: &MultiTermQuery) -> bool
fn eq(&self, other: &MultiTermQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<MultiTermQuery> for WildcardQuery
impl PartialEq<MultiTermQuery> for WildcardQuery
source§fn eq(&self, other: &MultiTermQuery) -> bool
fn eq(&self, other: &MultiTermQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<PrefixQuery> for MultiTermQuery
impl PartialEq<PrefixQuery> for MultiTermQuery
source§fn eq(&self, other: &PrefixQuery) -> bool
fn eq(&self, other: &PrefixQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<RangeQuery> for MultiTermQuery
impl PartialEq<RangeQuery> for MultiTermQuery
source§fn eq(&self, other: &RangeQuery) -> bool
fn eq(&self, other: &RangeQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<RegexpQuery> for MultiTermQuery
impl PartialEq<RegexpQuery> for MultiTermQuery
source§fn eq(&self, other: &RegexpQuery) -> bool
fn eq(&self, other: &RegexpQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<WildcardQuery> for MultiTermQuery
impl PartialEq<WildcardQuery> for MultiTermQuery
source§fn eq(&self, other: &WildcardQuery) -> bool
fn eq(&self, other: &WildcardQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq for MultiTermQuery
impl PartialEq for MultiTermQuery
source§fn eq(&self, other: &MultiTermQuery) -> bool
fn eq(&self, other: &MultiTermQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MultiTermQuery
impl Serialize for MultiTermQuery
impl StructuralPartialEq for MultiTermQuery
Auto Trait Implementations§
impl RefUnwindSafe for MultiTermQuery
impl Send for MultiTermQuery
impl Sync for MultiTermQuery
impl Unpin for MultiTermQuery
impl UnwindSafe for MultiTermQuery
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