Struct elastic::types::prelude::GeoPointString
[−]
[src]
pub struct GeoPointString;
Geo-point expressed as a string with the format: "lat,lon"
.
Trait Implementations
impl GeoPointFormat for GeoPointString
[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 = GeoPointString>,
S: Serializer,
point: &Point<f64>,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
M: GeoPointMapping<Format = GeoPointString>,
S: Serializer,
Formats a geo::Point
. Read more
impl Default for GeoPointString
[src]
fn default() -> GeoPointString
impl Copy for GeoPointString
[src]
impl Debug for GeoPointString
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.