luleyleo/untis-rs

Implement common traits for structures

Closed this issue · 2 comments

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

Yes, this would definitely make sense

Thanks!