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]

impl<TFormat> PartialEq<DefaultGeoPointMapping<TFormat>> for DefaultGeoPointMapping<TFormat> where
    TFormat: PartialEq<TFormat> + GeoPointFormat
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<TFormat> Clone for DefaultGeoPointMapping<TFormat> where
    TFormat: Clone + GeoPointFormat
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<TFormat> GeoPointMapping for DefaultGeoPointMapping<TFormat> where
    TFormat: GeoPointFormat
[src]

The format used to serialise and deserialise the geo point. Read more

[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

[src]

The maximum length of the geohash to use for the geohash and geohash_prefix options.

[src]

Should the geo-point also be indexed as a geohash plus all its prefixes? Defaults to false.

[src]

If true, malformed geo-points are ignored. If false (default), malformed geo-points throw an exception and reject the whole document. Read more

[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]

[src]

Returns the "default value" for a type. Read more

impl<TFormat> Debug for DefaultGeoPointMapping<TFormat> where
    TFormat: Debug + GeoPointFormat
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<TFormat> Send for DefaultGeoPointMapping<TFormat> where
    TFormat: Send

impl<TFormat> Sync for DefaultGeoPointMapping<TFormat> where
    TFormat: Sync