Module elastic_types::document::prelude []

Includes all types for document types.

This is a convenience module to make it easy to build mappings for multiple types without too many use statements.

Reexports

pub use super::mapping::*;

Structs

IndexDocumentMapping

A wrapper type for serialising user types.

ValueDocumentMapping

Mapping for an anonymous json object.

Traits

DocumentType

The additional fields available to an indexable Elasticsearch type.

FieldType

The base representation of an Elasticsearch data type.

Functions

doc_ser

Serialise a document mapping as a field using the given serialiser.

field_ser

Serialise a field mapping as a field using the given serialiser.