Trait validate::Rule
[−]
[src]
pub trait Rule<T> { fn validate(&self, input: &T) -> ValidationResult; }
Required Methods
fn validate(&self, input: &T) -> ValidationResult
Implementors
impl<F, Type> Rule<Type> for F where
F: Fn(&Type) -> ValidationResult,