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§impl Serialize for RangeRelation
impl Serialize for RangeRelation
impl Eq for RangeRelation
impl StructuralPartialEq for RangeRelation
Auto Trait Implementations§
impl Freeze for RangeRelation
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