pub fn wire_fields(schema: &Value) -> Vec<WireField>Expand description
Every field one generated schema declares, in name order.
A schema whose type flattens a tagged enum declares some of its fields
inside the union’s arms rather than beside them, so this reads both: a field
every arm requires is required, a field no arm declares is absent, and a
field the arms declare at differing types is union.