Serde - Serialize, Deserialize


the trait `for<'de> Deserialize<'de>` is not implemented for ..

This error appears when the serde is not configured properly in the Cargo.toml file. You need to add features="derive" to the toml file or use cargo-edit.

serde = { version = "1.0.137", features = ["derive"] }

With cargo-edit is much easier:

cargo add serde --features=derive
If you found it valuable, please join to the supporters at: Support