Struct elastic_types::geo::point::mapping::DefaultGeoPointMapping [] [src]

pub struct DefaultGeoPointMapping<TFormat = DefaultGeoPointFormat> where
    TFormat: GeoPointFormat
{ /* fields omitted */ }

Default mapping for geo_point.

Trait Implementations

impl<TFormat: PartialEq> PartialEq for DefaultGeoPointMapping<TFormat> where
    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: Debug> Debug for DefaultGeoPointMapping<TFormat> where
    TFormat: GeoPointFormat
[src]

[src]

Formats the value using the given formatter.

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

[src]

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

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

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