ToSqlEnum

Trait ToSqlEnum 

Source
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§

Source

fn to_sql_enum(&self) -> &'static str

Get the SQL enum value as a string.

Implementors§