pub trait Validate<T>where T: Debug + Any,{ // Required method fn validate(&self) -> Result<(), Errors<T>>; }
A validatable type.
Validates the value.
If invalid, returns details about why the value failed validation.