You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using your fantastic project to interact with Cloud Storage. I would like to make a Client a member of some struct in order to be able to reuse it multiple times. Unfortunately, this is impossible.
Since Client does not implement Debug, I cannot derive Debug on a parent enum. This in turn prevents me from deriving Debug all the way up the hierarchy, finally reaching a clapParser. I suspect that PartialEq and Eq would be required for my tests using assert_eq!, but since assert_eq! relies on the Debug trait I had to comment them out, so I am not too sure.
Probably I could work around this issue writing custom code. However, I hoped when providing these centrally many more persons would benefit from that.
The text was updated successfully, but these errors were encountered:
I am using your fantastic project to interact with Cloud Storage. I would like to make a
Client
a member of some struct in order to be able to reuse it multiple times. Unfortunately, this is impossible.Since
Client
does not implementDebug
, I cannot deriveDebug
on a parentenum
. This in turn prevents me from derivingDebug
all the way up the hierarchy, finally reaching aclap
Parser
. I suspect thatPartialEq
andEq
would be required for my tests usingassert_eq!
, but sinceassert_eq!
relies on the Debug trait I had to comment them out, so I am not too sure.Probably I could work around this issue writing custom code. However, I hoped when providing these centrally many more persons would benefit from that.
The text was updated successfully, but these errors were encountered: