diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 5 | 
1 files changed, 5 insertions, 0 deletions
| @@ -255,6 +255,11 @@ Examples:  #[validate]  ``` +### non_control_character +Tests whether the String has any utf-8 control caracters, fails validation if it does. +To use this validator, you must enable the `unic` feature for the `validator_derive` crate. +This validator doesn't take any arguments: `#[validate(non_control_character)]`; +  ## Struct level validation  Often, some error validation can only be applied when looking at the full struct, here's how it works here: | 
