rs_avro_schema_gen::app::json2flatFunction json_sample_bytes2flat_schema2writer
Source pub fn json_sample_bytes2flat_schema2writer<N, S, J, G, W>(
name_source: N,
namespace_source: S,
sample_json_source: J,
generator: G,
writer: W,
) -> impl FnMut() -> Result<(), Error>where
N:
FnMut() ->
Result<
String,
Error>,
S:
FnMut() ->
Result<
Option<
String>,
Error>,
J:
FnMut() ->
Result<
Vec<
u8>,
Error>,
G:
Fn(
String,
Option<
String>,
Vec<
u8>) ->
Result<
FlatRecord,
Error>,
W:
FnMut(
FlatRecord) ->
Result<
(),
Error>,