pub(crate) fn generate_fields(
    s: &mut Structure<'_>,
    method: TokenStream
) -> TokenStream