Enum elasticsearch_dsl::search::queries::params::RangeRelation
source · [−]pub enum RangeRelation {
Intersects,
Contains,
Within,
}
Expand description
Indicates how the range query matches values for range fields.
Variants
Intersects
Matches documents with a range field value that intersects the query’s range.
Contains
Matches documents with a range field value that entirely contains the query’s range.
Within
Matches documents with a range field value entirely within the query’s range.
Trait Implementations
sourceimpl Clone for RangeRelation
impl Clone for RangeRelation
sourcefn clone(&self) -> RangeRelation
fn clone(&self) -> RangeRelation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RangeRelation
impl Debug for RangeRelation
sourceimpl PartialEq<RangeRelation> for RangeRelation
impl PartialEq<RangeRelation> for RangeRelation
sourceimpl Serialize for RangeRelation
impl Serialize for RangeRelation
impl StructuralPartialEq for RangeRelation
Auto Trait Implementations
impl RefUnwindSafe for RangeRelation
impl Send for RangeRelation
impl Sync for RangeRelation
impl Unpin for RangeRelation
impl UnwindSafe for RangeRelation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more