Closed ivanovaleksey closed 6 years ago
Hello,
I would like to define a custom structure
#[derive(Clone, Debug)] pub struct Options { pub mqtt: MqttOptions, pub database_url: String, }
However, right now it is impossible because Debug is not implemented for MqttOptions.
Debug
MqttOptions
I thought we could derive Debug for MqttOptions, it wouldn't hurt anyone and maybe even would be useful for debugging purposes.
What do you think?
Fixed in new master
Hello,
I would like to define a custom structure
However, right now it is impossible because
Debug
is not implemented forMqttOptions
.I thought we could derive
Debug
forMqttOptions
, it wouldn't hurt anyone and maybe even would be useful for debugging purposes.What do you think?