[−][src]Trait form_validation::Validatable 
An item that can be validated.
Required methods
fn validate(&self) -> Result<(), ValidationErrors<Key>>
Validate this item. Returns Ok(()) if no errors were
encountered, and returns Err(ValidationErrors) if any errors
were encountered.
Provided methods
fn validate_or_empty(&self) -> ValidationErrors<Key>
Validate this item. Returns an empty ValidationErrors if no errors were encountered during validation.