Function iron_valid::validate [] [src]

pub fn validate(rules: BTreeMap<&'static strVec<Rule>>, values: Map) -> Result<MapBTreeMap<&'static strVec<String>>>

Validate a map of values against a map of rules.

Returns a Result containing a map of post-processed values, or a map of validation error messages.