You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to derive FromRow for my struct and it's failing. When I try and do it using #[derive(FromRow)] I get the error required for EvaluationDocSchema to implement for<'r> FromRow<'r, SqliteRow>. So then I try and impl it like below but then the row variable does not have the try_get function that I see in many examples. What is the correct syntax?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to derive FromRow for my struct and it's failing. When I try and do it using #[derive(FromRow)] I get the error required for
EvaluationDocSchema
to implementfor<'r> FromRow<'r, SqliteRow>
. So then I try and impl it like below but then the row variable does not have the try_get function that I see in many examples. What is the correct syntax?Beta Was this translation helpful? Give feedback.
All reactions