Struct elastic::types::prelude::GeoPointObject
[−]
[src]
pub struct GeoPointObject;
Geo-point expressed as an object, with lat
and lon
keys.
Trait Implementations
impl GeoPointFormat for GeoPointObject
[src]
fn parse<'de, D>(
deserializer: D
) -> Result<Point<f64>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
deserializer: D
) -> Result<Point<f64>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Parses a geo::Point
. Read more
fn format<S, M>(
point: &Point<f64>,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
M: GeoPointMapping<Format = GeoPointObject>,
S: Serializer,
point: &Point<f64>,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
M: GeoPointMapping<Format = GeoPointObject>,
S: Serializer,
Formats a geo::Point
. Read more
impl Default for GeoPointObject
[src]
fn default() -> GeoPointObject
impl Copy for GeoPointObject
[src]
impl PartialEq<GeoPointObject> for GeoPointObject
[src]
fn eq(&self, __arg_0: &GeoPointObject) -> bool
impl Debug for GeoPointObject
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.