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
jakescott@rustbox:~/rust/postgres-queue$ cargo run
Compiling postgres-queue v0.0.1 (file:///home/jakescott/rust/postgres-queue)
src/main.rs:28:14: 28:20 error: the trait `postgres::types::FromSql` is not implemented for the type `rustc_serialize::json::Json` [E0277]
src/main.rs:28 json: row.get(2),
^~~~~~
error: aborting due to previous error
Could not compile `postgres-queue`.
To learn more, run the command again with --verbose.
jakescott@rustbox:~/rust/postgres-queue$
The text was updated successfully, but these errors were encountered:
I have the following code:
Cargo.toml file has this in it:
When I compile I get the following error
The text was updated successfully, but these errors were encountered: