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
This is nice, because currently serde has no happy path for users who want to skip serializing certain values (to save bandwidth, say) and also want Serialize/Deserialize to be a correct-by-construction roundtrip (I don't want to write unit tests for this, though serde offers enough footguns that maybe its necessary anyway).
If there were an attribute based around Default that skipped serializing that would be okay too, but I would rather just annotate specific fields like in the example above
similar as #818.
but this allows different values for the same type.
for example
The text was updated successfully, but these errors were encountered: