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§
- Data
Shape - Receiver for shape information within a struct or enum context. See
Shape
for more information on valid uses of shape validation. - Derive
Input Shape Set - 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.