pub fn encode_datums_as_avro<'a, I>(
    datums: I,
    names_types: &[(ColumnName, ColumnType)]
) -> Value where
    I: IntoIterator<Item = Datum<'a>>, 
Expand description

Encodes a sequence of Datum as Avro (key and value), using supplied column names and types.