Crate val_test[][src]

Expand description

It is validate with message, rules and ValidationResult
Example below:


 let rules_hash: HashMap<&str, Vec> = rule_map![
"ros" => vec![Rules::In {value: "123,asd,123".to_string()}],
"ross" => vec![Rules::GreaterThan {field:"as".to_string()}]
];

Modules

Macros