pub fn codegen_field_type_enum(field: Field<'_>, settings: &Settings) -> String
Expand description

Generates the Rust code for an enum that has variants that map 1:1 the available values for field.