-
Notifications
You must be signed in to change notification settings - Fork 68
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 #[darling(word)] for enum variants #63
Comments
@chipsenkbeil I think this is what you're looking for |
In my case, I'm looking for a word or a list as the attribute can be Separately, I also have To summarize, I'm both looking for the presence of |
Check out |
Given the existence of the above workaround (and the lack of movement for almost 3 years), I'm closing this as "Won't Fix." |
DefaultExpression
is one example of an enum that wants to map a specific variant to the appearance of the field ident with no associated value. This would only be valid on variants inFromMeta
. The variant must be a unit variant.The text was updated successfully, but these errors were encountered: