error[E0277]: the trait bound `chrono::Months: _::_serde::Serialize` is not satisfied
--> src\main.rs:5:10
|
5 | #[derive(Serialize, Deserialize, Debug)]
| ^^^^^^^^^ the trait `_::_serde::Serialize` is not implemented for `chrono::Months`
What the compiler said...
I'm probably the only person in the world using that enum in that way 😅
This isn't even an enum... It is fairly niche and I think adding the Months type may have been a mistake so I'm not sure we'll want to add more API surface to it.
What the compiler said... I'm probably the only person in the world using that enum in that way 😅