pub struct GeoShapeQueryField {
pub relation: Option<String>,
pub shape: GeoShape,
pub indexed_shape: Option<FieldLookup>,
}Fields§
§relation: Option<String>§shape: GeoShape§indexed_shape: Option<FieldLookup>Implementations§
Source§impl GeoShapeQueryField
impl GeoShapeQueryField
pub fn new(shape: GeoShape) -> GeoShapeQueryField
Trait Implementations§
Source§impl Clone for GeoShapeQueryField
impl Clone for GeoShapeQueryField
Source§fn clone(&self) -> GeoShapeQueryField
fn clone(&self) -> GeoShapeQueryField
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 GeoShapeQueryField
impl Debug for GeoShapeQueryField
Source§impl Default for GeoShapeQueryField
impl Default for GeoShapeQueryField
Source§fn default() -> GeoShapeQueryField
fn default() -> GeoShapeQueryField
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GeoShapeQueryField
impl<'de> Deserialize<'de> for GeoShapeQueryField
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GeoShapeQueryField
impl PartialEq for GeoShapeQueryField
Source§fn eq(&self, other: &GeoShapeQueryField) -> bool
fn eq(&self, other: &GeoShapeQueryField) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GeoShapeQueryField
impl Serialize for GeoShapeQueryField
impl StructuralPartialEq for GeoShapeQueryField
Auto Trait Implementations§
impl Freeze for GeoShapeQueryField
impl RefUnwindSafe for GeoShapeQueryField
impl Send for GeoShapeQueryField
impl Sync for GeoShapeQueryField
impl Unpin for GeoShapeQueryField
impl UnsafeUnpin for GeoShapeQueryField
impl UnwindSafe for GeoShapeQueryField
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