Expand description
Types for “shape” validation. This allows types deriving FromDeriveInput
etc. to declare
that they only work on - for example - structs with named fields, or newtype enum variants.
Structs§
- Receiver for shape information within a struct or enum context. See
Shape
for more information on valid uses of shape validation. - Receiver struct for shape validation. Shape validation allows a deriving type to declare that it only accepts - for example - named structs, or newtype enum variants.