Function encode_fields

Source
fn encode_fields<'avro, 'rw>(
    fields_with_datums: impl Iterator<Item = ((&'rw str, &'rw DataType), DatumRef<'rw>)>,
    schema: &'avro Schema,
    refs: &'avro NamesRef,
) -> Result<Record<'avro>, FieldEncodeError>