trait bounds not satisfied inside FromRow. Even though they are #2860
Unanswered
chris-the-wiz
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 have a structure:
and I implent the FromRow trait for it:
in the database the table is defined as :
the error i get:
I cannot define the
impl Into<Arc<str>> for Option<String>
cause it is defined outside of the package.the title defined in sql as VARCHAR(255) NOT NULL gets through but body causes the compiler to choke. Could you help me with solving this somehow? Why do I even need to implement that Into trait if i am handling the conversion inside the FromRow function by myself? I am stuck
Beta Was this translation helpful? Give feedback.
All reactions