Struct form_checker::Checker [] [src]

pub struct Checker<T: FieldType> { /* fields omitted */ }

The checker for a field.

Methods

impl<T: FieldType> Checker<T>
[src]

Construct a new Checker.

field_name is the field name in the form.

field_title is a descriptive value, used to diplay error messages.

field_type is a type implementing the FieldType trait.

Add a rule to this checker, refer to the Rule.

Set an option for this checker, refer to the CheckerOption.

Trait Implementations

impl<T: FieldType> Checkable for Checker<T>
[src]