Structs
Enums
Contains all the validators that can be used
Traits
Trait to implement if one wants to make the contains
validator
work for more types
Trait to implement if one wants to make the length
validator
work for more types
The trait that validator_derive
implements
Functions
Validates whether the value contains the needle
The value needs to implement the Contains trait, which is implement on String, str and Hashmap
Validates whether the given string is an email based on Django EmailValidator
and HTML5 specs
Validates whether the given string is an IP
Validates whether the given string is an IP V4
Validates whether the given string is an IP V6
Validates the length of the value given.
If the validator has equal
set, it will ignore any min
and max
value.
Validates that the 2 given fields match. Both fields are optionals
Validates that a number is in the given range
Validates whether the string given is a url