Module elastic_types::ip
[−]
[src]
Implementation of the Elasticsearch ip
type.
Examples
For defining your own ip mapping, see mapping details.
Map with a default ip
:
struct MyType { pub field: std::net::Ipv4Addr }
Map with a custom ip
:
#[macro_use] struct MyType { pub field: Ip<MyIpMapping> }
Links
Modules
mapping |
Mapping for the Elasticsearch |
prelude |
Includes all types for the |
Structs
Ip |
An Elasticsearch |