-
Notifications
You must be signed in to change notification settings - Fork 87
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
Specify the discriminant for enum variants #109
Comments
Hi there @desm86, as far as I am aware: serde doesn't actually use the discriminant value, even if it is specified like this. Serde provides an integer that is the zero-indexed item, so in your example This is not something postcard can address, unless I am mistaken. |
Would this PR be relevant? serde-rs/serde#2354 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected result:
The text was updated successfully, but these errors were encountered: