Validation Library Documentation

Functions

validate(email: &str) -> bool

Validates the given string as an email according to the regex pattern.

validate(phone: &str) -> bool

Validates the given string as a phone number according to the regex pattern.

validate(url: &str) -> bool

Validates the given string as an URL according to the regex pattern.

Modules

email

Contains functions and constants specific to email validation.

url

Contains functions and constants specific to URL validation.

phone_number

Contains functions and constants specific to phone number validation.

password

Contains functions and constants specific to password validation.