#[non_exhaustive]pub enum GeoShapeRelation {
Intersects,
Disjoint,
Within,
Contains,
Raw(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Intersects
Return all documents whose geo_shape or geo_point field intersects the query geometry.
Disjoint
Return all documents whose geo_shape or geo_point field has nothing in common with the query geometry.
Within
Return all documents whose geo_shape or geo_point field is within the query geometry.
Line geometries are not supported.
Contains
Return all documents whose geo_shape or geo_point field contains the query geometry.
Raw(String)
A value this version of the specification doesn’t list.
Implementations§
Source§impl GeoShapeRelation
impl GeoShapeRelation
Sourcepub fn from_known(value: &str) -> Option<GeoShapeRelation>
pub fn from_known(value: &str) -> Option<GeoShapeRelation>
The listed value with this name, if there is one.
Trait Implementations§
Source§impl Clone for GeoShapeRelation
impl Clone for GeoShapeRelation
Source§fn clone(&self) -> GeoShapeRelation
fn clone(&self) -> GeoShapeRelation
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 GeoShapeRelation
impl Debug for GeoShapeRelation
Source§impl<'de> Deserialize<'de> for GeoShapeRelation
impl<'de> Deserialize<'de> for GeoShapeRelation
Source§fn deserialize<D__>(
deserializer: D__,
) -> Result<GeoShapeRelation, <D__ as Deserializer<'de>>::Error>where
D__: Deserializer<'de>,
fn deserialize<D__>(
deserializer: D__,
) -> Result<GeoShapeRelation, <D__ as Deserializer<'de>>::Error>where
D__: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GeoShapeRelation
Source§impl Hash for GeoShapeRelation
impl Hash for GeoShapeRelation
Source§impl PartialEq for GeoShapeRelation
impl PartialEq for GeoShapeRelation
Source§impl Serialize for GeoShapeRelation
impl Serialize for GeoShapeRelation
Source§fn serialize<S__>(
&self,
serializer: S__,
) -> Result<<S__ as Serializer>::Ok, <S__ as Serializer>::Error>where
S__: Serializer,
fn serialize<S__>(
&self,
serializer: S__,
) -> Result<<S__ as Serializer>::Ok, <S__ as Serializer>::Error>where
S__: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GeoShapeRelation
Auto Trait Implementations§
impl Freeze for GeoShapeRelation
impl RefUnwindSafe for GeoShapeRelation
impl Send for GeoShapeRelation
impl Sync for GeoShapeRelation
impl Unpin for GeoShapeRelation
impl UnsafeUnpin for GeoShapeRelation
impl UnwindSafe for GeoShapeRelation
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.