Attribute Macrosยง
- diesel_
enum_ number - Attribute macro that implements
from_i16,ToSql<SmallInt, Pg>, andFromSql<SmallInt, Pg>for an enum, and automatically applies#[repr(i16)].
from_i16, ToSql<SmallInt, Pg>, and
FromSql<SmallInt, Pg> for an enum, and automatically applies #[repr(i16)].