error[E0277]: the trait bound Struct: std::convert::From<()>
is not satisfied
#3869
Labels
Struct: std::convert::From<()>
is not satisfied
#3869
I have found these related issues/pull requests
none
Description
Here is my rust code:
Here is the SQL (pgsql db):
I am getting this compiler error:
error[E0277]: the trait bound
UserClass: std::convert::From<()>is not satisfied
Reproduction steps
run the code from above
SQLx version
0.8
Enabled SQLx features
"runtime-async-std", "postgres", "chrono", "ipnetwork",
Database server and version
Postgresql 17.4 (running in docker)
Operating system
Asahi Linux
Rust version
1.86.0
The text was updated successfully, but these errors were encountered: