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