pub const ENUM: ColumnMarker;Expand description
Marks this column as storing an enum type.
§Examples
#[column(ENUM)]
role: Role,The field’s type must derive PostgresEnum, which decides the storage: a
native enum type, or integer for an enum with an integer #[repr]. The
table macro also detects such fields without this attribute.
See: https://www.postgresql.org/docs/current/datatype-enum.html