Trait validations::Validate [] [src]

pub trait Validate<T> where
    T: Debug + Any
{ fn validate(&self) -> Result<(), Errors<T>>; }

A validatable type.

Required Methods

Validates the value.

If invalid, returns details about why the value failed validation.

Implementors