Module string_rules

Module string_rules 

Source
Expand description

This module contains structures and traits for defining rules for validating strings.

Structs§

StringLengthRules
A structure representing rules for validating the length of a string.
StringMandatoryLocale
A struct representing a mandatory locale for string processing.
StringMandatoryRules
A struct representing rules for mandatory string fields.
StringSpecialCharRules
A structure that defines rules for validating the presence of characters in a string. This can be used to enforce certain validation criteria for strings containing uppercase letters, lowercase letters, special characters, and numeric digits.

Enums§

StringLengthLocale
An enumeration representing the constraints for string length, either specifying a minimum length or a maximum length.
StringSpecialCharLocale
An enumeration defining various string constraints or requirements based on the presence of special characters, case sensitivity, or digits.