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>,
[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 = GeoPointArray>,
[src]
point: &Point<f64>,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
TMapping: GeoPointMapping<Format = GeoPointArray>,
Formats a geo::Point
. Read more
impl Copy for GeoPointArray
[src]
impl PartialEq<GeoPointArray> for GeoPointArray
[src]
fn eq(&self, __arg_0: &GeoPointArray) -> 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 Clone for GeoPointArray
[src]
fn clone(&self) -> GeoPointArray
[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 Default for GeoPointArray
[src]
fn default() -> GeoPointArray
[src]
Returns the "default value" for a type. Read more