Function elastic_types::document::doc_ser
[−]
pub fn doc_ser<S, M>(
state: &mut S,
field: &'static str,
_: M
) -> Result<(), S::Error> where
S: SerializeStruct,
M: DocumentMapping,
Serialise a document mapping as a field using the given serialiser.