pub fn codegen_field_type_enum(field: Field<'_>, settings: &Settings) -> String
Generates the Rust code for an enum that has variants that map 1:1 the available values for field.
enum
field