pub fn generate_type_from_field_ty(ty: Type) -> String