Closed danirc closed 1 year ago
The error is returned by the read_as function,
The full error: the trait bound StationRecord: ReadableRecord
is not satisfied the trait ReadableRecord
is implemented for Record
You also need to enable the "serde" feature for dbase, dbase = { version = "0.3.0", features = ["serde"] }
Thank you very much, it works for me. I've been with rust for a short time and I didn't know that I had to declare the dependencies.
I get this error all the time, but from what I understand I shouldn't implement ReadbableRecord, because serde does it for me, as I see in the documentation.
main.rs file
Dependences Cargo.toml