-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
enhancementNew feature or requestNew feature or request
Description
As far as I understand, it's not possible to derive the validation trait and define a validator at struct level at the same time (for example, to check that different fields are consistent with each other).
You can implement the trait yourself, but then you cannot take advantage of the derive feature if you have other validations in that struct.
It would be nice to have a feature like the one provided by the validator crate (see struct level validation).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request