-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add documentation for (de)serializing enum variants #501
Comments
The documentation exists in the url_serde crate: https://docs.rs/url_serde/0.2.0/url_serde/#how-do-i-use-a-data-type-with-a-url-member-with-serde |
Actually, I guess it's not explicit. You should be able to write |
Thanks. How about adding #502 to help a bit more ? |
|
Thanks ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Let's say I have this
enum
:The documentation is missing for writing this type correctly - there's probably a magic incantation about
#[serde(with = "url_serde")]
somewhere but I couldn't find it easily.The text was updated successfully, but these errors were encountered: