macro_rules! impl_enum_diesel_traits {
($variant_name:ident) => { ... };
}Expand description
Implements Diesel’s FromSql and ToSql traits for the given enum.
Note: FromStr, and AsStr traits must be implemented for the given enum
macro_rules! impl_enum_diesel_traits {
($variant_name:ident) => { ... };
}Implements Diesel’s FromSql and ToSql traits for the given enum.
Note: FromStr, and AsStr traits must be implemented for the given enum