Implement common traits for structures
Closed this issue · 2 comments
Luro02 commented
https://rust-lang-nursery.github.io/api-guidelines/interoperability.html
You can derive most of them (Serialize and Deserialize are from Serde):
#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Debug, Default, Serialize, Deserialize)]
Only Display has to be implemented manually
luleyleo commented
Yes, this would definitely make sense
luleyleo commented
Thanks!