Function mz_interchange::avro::encode::encode_datums_as_avro
source ยท pub fn encode_datums_as_avro<'a, I>(
datums: I,
names_types: &[(ColumnName, ColumnType)],
) -> Valuewhere
I: IntoIterator<Item = Datum<'a>>,
Expand description
Encodes a sequence of Datum
as Avro (key and value), using supplied column names and types.