[−][src]Trait vale::Validate
The core trait of this library. Any entity that implements Validate
can be validated by
running the validate
function. This will either return an Ok(())
, or an Err
containing a
list of errors that were triggered during validation. It is also possible for validate
to
perform tranformations on the entity that is being validated.