Crate validator [] [src]

Enums

Validator

Traits

HasLen
Validate

Functions

validate_email

Validates whether the given string is an email based on Django EmailValidator and HTML5 specs

validate_ip

Validates whether the given string is an IP

validate_ip_v4

Validates whether the given string is an IP V4

validate_ip_v6

Validates whether the given string is an IP V6

validate_length

Validates the length of the value given. If the validator has equal set, it will ignore any min and max value.

validate_range

Validates that a number is in the given range

validate_url

Validates whether the string given is a url

Type Definitions

Errors