Closed mitranim closed 7 years ago
Thanks for the PR.
Iffy on implementation. There has to be a better way. Thoughts/suggestions?
Yes, actually! Few people know this, but the Formatter
has a method just for this:
https://doc.rust-lang.org/std/fmt/struct.Formatter.html#method.debug_struct
I'd prefer if it was implemented that way.
Changed to Formatter::debug_struct
and added an impl Debug for Response
.
Thanks
Pros:
Cons:
Iffy on implementation. There has to be a better way. Thoughts/suggestions?