elastic_types/geo/mod.rs
1/*!
2Implementation of the Elasticsearch `geo` types.
3
4Use [`point::GeoPoint`](point/struct.GeoPoint.html) for indexing simple geo points with an `x` and `y` coordinate.
5
6Use [`shape::GeoShape`](shape/struct.GeoShape.html) for indexing `geojson`.
7*/
8
9pub mod mapping;
10pub mod point;
11pub mod shape;
12
13pub mod prelude {
14    /*!
15    Includes all types for the `geo_point` and `geo_shape` types.
16    
17    This is a convenience module to make it easy to build mappings for multiple types without too many `use` statements.
18    */
19
20    pub use super::point::prelude::*;
21    pub use super::shape::prelude::*;
22    pub use super::mapping::*;
23}