Enum elasticsearch_dsl::search::queries::params::SpatialRelation
source · [−]pub enum SpatialRelation {
Intersects,
Disjoint,
Within,
Contains,
}
Expand description
Relation between coordinates
Variants
Intersects
Return all documents whose shape
field intersects the query geometry
Disjoint
Return all documents whose shape
field has nothing in common with the
query geometry.
Within
Return all documents whose shape
field is within the query geometry.
Contains
Return all documents whose shape
field contains the query geometry.
Trait Implementations
sourceimpl Clone for SpatialRelation
impl Clone for SpatialRelation
sourcefn clone(&self) -> SpatialRelation
fn clone(&self) -> SpatialRelation
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 SpatialRelation
impl Debug for SpatialRelation
sourceimpl Default for SpatialRelation
impl Default for SpatialRelation
sourceimpl Ord for SpatialRelation
impl Ord for SpatialRelation
sourceimpl PartialEq<SpatialRelation> for SpatialRelation
impl PartialEq<SpatialRelation> for SpatialRelation
sourceimpl PartialOrd<SpatialRelation> for SpatialRelation
impl PartialOrd<SpatialRelation> for SpatialRelation
sourcefn partial_cmp(&self, other: &SpatialRelation) -> Option<Ordering>
fn partial_cmp(&self, other: &SpatialRelation) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for SpatialRelation
impl Serialize for SpatialRelation
impl Copy for SpatialRelation
impl Eq for SpatialRelation
impl StructuralEq for SpatialRelation
impl StructuralPartialEq for SpatialRelation
Auto Trait Implementations
impl RefUnwindSafe for SpatialRelation
impl Send for SpatialRelation
impl Sync for SpatialRelation
impl Unpin for SpatialRelation
impl UnwindSafe for SpatialRelation
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