pub(crate) fn shared_union_fields(s: &StructDef) -> Vec<String>Expand description
Shared named-field fragments for a union-having struct’s discriminated
aliases. One name: type entry per non-union field, with the same
nullability rule the parser result aliases use, so the input alias and the
*Result alias stay structurally identical.