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
But if my struct contains something else like HashMap<Url>, I will have to define a new wrapper type around Url before I can include HashMap<Url> in my struct AFAIK.
Is it even possible for serde to support the with attribute for this inner Url type?
The text was updated successfully, but these errors were encountered:
Consider the
Url
struct where the serde implementation is provided by a separate crateurl_serde
.If my struct contains a
Url
to be (de)serialized, I can do:But if my struct contains something else like
HashMap<Url>
, I will have to define a new wrapper type aroundUrl
before I can includeHashMap<Url>
in my struct AFAIK.Is it even possible for serde to support the
with
attribute for this innerUrl
type?The text was updated successfully, but these errors were encountered: