Struct elastic_types::geo::point::GeoPointObject
[−]
[src]
pub struct GeoPointObject;
Geo-point expressed as an object, with lat
and lon
keys.
Trait Implementations
impl PartialEq for GeoPointObject
[src]
fn eq(&self, __arg_0: &GeoPointObject) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Debug for GeoPointObject
[src]
impl Default for GeoPointObject
[src]
fn default() -> GeoPointObject
[src]
Returns the "default value" for a type. Read more
impl Clone for GeoPointObject
[src]
fn clone(&self) -> GeoPointObject
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for GeoPointObject
[src]
impl GeoPointFormat for GeoPointObject
[src]
fn parse<'de, D>(deserializer: D) -> Result<P<f64>, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Parses a geo::Point
. Read more
fn format<S, TMapping>(point: &P<f64>, serializer: S) -> Result<S::Ok, S::Error> where
TMapping: GeoPointMapping<Format = Self>,
S: Serializer,
[src]
TMapping: GeoPointMapping<Format = Self>,
S: Serializer,
Formats a geo::Point
. Read more