Skip to content

"get_result()" trait bound error. #59

Answered by weiznich
no-miso asked this question in Q&A
Discussion options

You must be logged in to vote

That's a mismatch between what your query returns and what your struct expects that the query returns. In detail: your query returns 5 fields, while your struct expects 3 fields. Either adjust your query to only return 3 matching fields (in order + type) or adjust your return type to contain 5 matching files (again in order + type).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@no-miso
Comment options

@no-miso
Comment options

Answer selected by no-miso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants