Struct elastic::types::prelude::DefaultGeoPointMapping
[−]
[src]
pub struct DefaultGeoPointMapping<TFormat = GeoPointArray> where
TFormat: GeoPointFormat, { /* fields omitted */ }
Default mapping for geo_point.
Trait Implementations
impl<TFormat> Copy for DefaultGeoPointMapping<TFormat> where
TFormat: Copy + GeoPointFormat, [src]
TFormat: Copy + GeoPointFormat,
impl<TFormat> PartialEq<DefaultGeoPointMapping<TFormat>> for DefaultGeoPointMapping<TFormat> where
TFormat: PartialEq<TFormat> + GeoPointFormat, [src]
TFormat: PartialEq<TFormat> + GeoPointFormat,
fn eq(&self, __arg_0: &DefaultGeoPointMapping<TFormat>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &DefaultGeoPointMapping<TFormat>) -> bool[src]
This method tests for !=.
impl<TFormat> Clone for DefaultGeoPointMapping<TFormat> where
TFormat: Clone + GeoPointFormat, [src]
TFormat: Clone + GeoPointFormat,
fn clone(&self) -> DefaultGeoPointMapping<TFormat>[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<TFormat> GeoPointMapping for DefaultGeoPointMapping<TFormat> where
TFormat: GeoPointFormat, [src]
TFormat: GeoPointFormat,
type Format = TFormat
The format used to serialise and deserialise the geo point. Read more
fn geohash() -> Option<bool>[src]
Should the geo-point also be indexed as a geohash in the .geohash sub-field? Defaults to false, unless geohash_prefix is true. Read more
fn geohash_precision() -> Option<Distance>[src]
The maximum length of the geohash to use for the geohash and geohash_prefix options.
fn geohash_prefix() -> Option<bool>[src]
Should the geo-point also be indexed as a geohash plus all its prefixes? Defaults to false.
fn ignore_malformed() -> Option<bool>[src]
If true, malformed geo-points are ignored. If false (default), malformed geo-points throw an exception and reject the whole document. Read more
fn lat_lon() -> Option<bool>[src]
Should the geo-point also be indexed as .lat and .lon sub-fields? Accepts true and false (default). Read more
impl<TFormat> Default for DefaultGeoPointMapping<TFormat> where
TFormat: Default + GeoPointFormat, [src]
TFormat: Default + GeoPointFormat,
fn default() -> DefaultGeoPointMapping<TFormat>[src]
Returns the "default value" for a type. Read more
impl<TFormat> Debug for DefaultGeoPointMapping<TFormat> where
TFormat: Debug + GeoPointFormat, [src]
TFormat: Debug + GeoPointFormat,
Auto Trait Implementations
impl<TFormat> Send for DefaultGeoPointMapping<TFormat> where
TFormat: Send,
TFormat: Send,
impl<TFormat> Sync for DefaultGeoPointMapping<TFormat> where
TFormat: Sync,
TFormat: Sync,