Deriving [Validate] allows you to specify schema and field validations on structs. See the [repository](https://github.com/biblius/validify) for a full list of possible validations.
| 27 | /// Deriving [Validate] allows you to specify schema and field validations on structs. |
| 28 | /// See the [repository](https://github.com/biblius/validify) for a full list of possible validations. |
| 29 | pub trait Validate { |
| 30 | /// Apply the provided validations to self |
| 31 | fn validate(&self) -> Result<(), ValidationErrors>; |
| 32 | } |
| 33 | |
| 34 | /// Modifies the struct based on the provided `modify` parameters. Automatically implemented when deriving Validify. |
| 35 | /// See the [repository](https://github.com/biblius/validify) for a full list of possible modifiers. |
nothing calls this directly
no outgoing calls
no test coverage detected