pub const ENUM: ColumnMarker;Expand description
Marks this column as storing an enum type.
ยงExample
#[column(enum)]
role: Role,
#[column(integer, enum)]
status: Status,The enum must derive SQLiteEnum, and that derive decides the storage:
INTEGER when a variant has an explicit discriminant or the enum has an
integer #[repr], TEXT (variant names) otherwise. An explicit integer or
text marker must agree with it, or the table fails to compile.