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§
source§impl Clone for RangeRelation
impl Clone for RangeRelation
source§fn clone(&self) -> RangeRelation
fn clone(&self) -> RangeRelation
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 RangeRelation
impl Debug for RangeRelation
source§impl PartialEq for RangeRelation
impl PartialEq for RangeRelation
source§fn eq(&self, other: &RangeRelation) -> bool
fn eq(&self, other: &RangeRelation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RangeRelation
impl Serialize for RangeRelation
impl Eq for RangeRelation
impl StructuralEq 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§
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