Error Trait "FromStaticSqlRow" is not implemented ...
still showing after implementing FromSql
and ToSql
in custom enum
#4440
Unanswered
stanley355
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I followed the tutorial both from:
To implement custom rust type with enum, however on compilation I still had the following error:
Schema.rs
Enum.rs that implements to sql and from sql
main.rs
It specifically error when using get_result function:
Is there something missing or I should implement the Queryable trait following this disucsssion: #3601 ??
Beta Was this translation helpful? Give feedback.
All reactions