pub fn generate_all_of(
name: &str,
variants: &[ReferenceOr<Schema>],
description: Option<&String>,
inline_types: &mut Vec<TokenStream>,
) -> TokenStreamExpand description
Generate a Rust struct type for an allOf composition.
$ref branches become #[serde(flatten)] fields of the referenced type.
Inline object branches contribute their properties directly. Any other inline
branch falls back to serde_json::Value (we do not synthesize nested types
here — those are handled by the enum path via schema_to_rust_type_ctx).