codelabsab / rust-ocpp

Libraries for ocpp 1.6 and 2.0.1
https://docs.rs/rust-ocpp/latest/rust_ocpp/
Apache License 2.0
64 stars 15 forks source link

Derive default #12

Closed larsk2009 closed 1 year ago

larsk2009 commented 1 year ago

Would you be interested in adding a default derive trait? I think this can be useful for testing purposes so you quickly create one of the types without having to specify all of the optional types.

If you'd agree with adding this, I can make a PR for it.

tommymalmqvist commented 1 year ago

Hello @larsk2009, that is actually a great idea!

Please, feel free to submit a PR 👍