fn serialize_struct_as_map( params: &Parameters, fields: &[Field<'_>], cattrs: &Container, ) -> Fragment