pub enum MultiTermQuery {
Prefix(PrefixQuery),
Regexp(RegexpQuery),
Wildcard(WildcardQuery),
Range(RangeQuery),
Fuzzy(FuzzyQuery),
}Expand description
A container enum for supported OpenSearch 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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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<'de> Deserialize<'de> for MultiTermQuery
impl<'de> Deserialize<'de> for MultiTermQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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
Source§impl PartialEq for MultiTermQuery
impl PartialEq for MultiTermQuery
Source§fn eq(&self, other: &MultiTermQuery) -> bool
fn eq(&self, other: &MultiTermQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialEq<FuzzyQuery> for MultiTermQuery
impl PartialEq<FuzzyQuery> for MultiTermQuery
Source§fn eq(&self, other: &FuzzyQuery) -> bool
fn eq(&self, other: &FuzzyQuery) -> bool
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
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
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
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
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
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
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
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
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
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MultiTermQuery
impl Serialize for MultiTermQuery
Source§impl ShouldSkip for MultiTermQuery
impl ShouldSkip for MultiTermQuery
Source§fn should_skip(&self) -> bool
fn should_skip(&self) -> bool
Whether a query or a query value can be skipped
Source§fn should_keep(&self) -> bool
fn should_keep(&self) -> bool
Inverse of the condition
impl StructuralPartialEq for MultiTermQuery
Auto Trait Implementations§
impl Freeze for MultiTermQuery
impl RefUnwindSafe for MultiTermQuery
impl Send for MultiTermQuery
impl Sync for MultiTermQuery
impl Unpin for MultiTermQuery
impl UnsafeUnpin 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