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