pub trait ToSqlEnum {
// Required method
fn to_sql_enum(&self) -> &'static str;
}Expand description
Trait for types that can be converted to SQL enum string.
Required Methods§
Sourcefn to_sql_enum(&self) -> &'static str
fn to_sql_enum(&self) -> &'static str
Get the SQL enum value as a string.