Crate fortifier

Crate fortifier 

Source
Expand description

Fortifier.

Modules§

serde
Serde utilities

Macros§

error_code
Implement an error code.
error_code_base
Implement an error code.
error_code_serde
Implement serde traits for an error code.
error_code_utoipa
Implement utoipa traits for an error code.
validate_with_deref
Generate a dereference validate implementation for a type.

Structs§

EmailAddressErrorCode
Email address error code.
EmailAddressOptions
Struct of options that can be configured when parsing with parse_with_options.
IndexedValidationError
Validation error with index.
KeyedValidationError
Validation error with key.
LengthErrorCode
Email address error code.
PhoneNumberErrorCode
Email address error code.
RangeErrorCode
Email address error code.
RegexError
Regular expression validation error.
RegexErrorCode
Email address error code.
UrlErrorCode
Email address error code.
ValidationErrors
Validation errors.

Enums§

EmailAddressError
Email validation error.
LengthError
Length validation error.
PhoneNumberCountry
CLDR country IDs.
PhoneNumberError
Phone number validation error.
RangeError
Range validation error.
UrlError
URL validation error.

Traits§

AsRegex
Convert to a regular expression.
Validate
Validate a schema.
ValidateEmailAddress
Validate an email address.
ValidateLength
Validate a length.
ValidatePhoneNumber
Validate a phone number.
ValidateRange
Validate a range.
ValidateRegex
Validate a regular expression.
ValidateUrl
Validate a URL.
ValidateWithContext
Validate a schema with context.

Derive Macros§

Validate
Validate derive macro.