Function elastic::types::document::field_ser [] [src]

pub fn field_ser<S, M, F>(
    state: &mut S,
    field: &'static str,
    M
) -> Result<(), <S as SerializeStruct>::Error> where
    F: Default,
    M: FieldMapping<F>,
    S: SerializeStruct

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