because I use SongType from post which is from a formdata so I keep Deserialize derive, and I don't need deserialize from Row so I removed FromSql(actually when I keep it and remove Deserialize the error is same). Other than this there is no difference from the demo code, what I miss?
I followed postgres_types step by step but still get an error
sql
rust enum
because I use
SongType
from post which is from a formdata so I keepDeserialize
derive, and I don't need deserialize fromRow
so I removedFromSql
(actually when I keep it and removeDeserialize
the error is same). Other than this there is no difference from the demo code, what I miss?