fn render_variant(out: &mut String, variant: &Variant) -> Result<(), Error>
Writes one variant: its message template, its documentation, its payload.