Available on crate feature
protovalidate only.Enums§
- String
Violation - All types of violations for
stringfields.
Constants§
- STRING_
ADDRESS_ VIOLATION - The data for the
string.addressviolation. - STRING_
CONST_ VIOLATION - The data for the
string.constviolation. - STRING_
CONTAINS_ VIOLATION - The data for the
string.containsviolation. - STRING_
EMAIL_ VIOLATION - The data for the
string.emailviolation. - STRING_
HOSTNAME_ VIOLATION - The data for the
string.hostnameviolation. - STRING_
HOST_ AND_ PORT_ VIOLATION - The data for the
string.host_and_portviolation. - STRING_
IN_ VIOLATION - The data for the
string.inviolation. - STRING_
IPV4_ PREFIX_ VIOLATION - The data for the
string.ipv4_prefixviolation. - STRING_
IPV4_ VIOLATION - The data for the
string.ipv4violation. - STRING_
IPV4_ WITH_ PREFIXLEN_ VIOLATION - The data for the
string.ipv4_with_prefixlenviolation. - STRING_
IPV6_ PREFIX_ VIOLATION - The data for the
string.ipv6_prefixviolation. - STRING_
IPV6_ VIOLATION - The data for the
string.ipv6violation. - STRING_
IPV6_ WITH_ PREFIXLEN_ VIOLATION - The data for the
string.ipv6_with_prefixlenviolation. - STRING_
IP_ PREFIX_ VIOLATION - The data for the
string.ip_prefixviolation. - STRING_
IP_ VIOLATION - The data for the
string.ipviolation. - STRING_
IP_ WITH_ PREFIXLEN_ VIOLATION - The data for the
string.ip_with_prefixlenviolation. - STRING_
LEN_ BYTES_ VIOLATION - The data for the
string.len_bytesviolation. - STRING_
LEN_ VIOLATION - The data for the
string.lenviolation. - STRING_
MAX_ BYTES_ VIOLATION - The data for the
string.max_bytesviolation. - STRING_
MAX_ LEN_ VIOLATION - The data for the
string.max_lenviolation. - STRING_
MIN_ BYTES_ VIOLATION - The data for the
string.min_bytesviolation. - STRING_
MIN_ LEN_ VIOLATION - The data for the
string.min_lenviolation. - STRING_
NOT_ CONTAINS_ VIOLATION - The data for the
string.not_containsviolation. - STRING_
NOT_ IN_ VIOLATION - The data for the
string.not_inviolation. - STRING_
PATTERN_ VIOLATION - The data for the
string.patternviolation. - STRING_
PREFIX_ VIOLATION - The data for the
string.prefixviolation. - STRING_
SUFFIX_ VIOLATION - The data for the
string.suffixviolation. - STRING_
TUUID_ VIOLATION - The data for the
string.tuuidviolation. - STRING_
ULID_ VIOLATION - The data for the
string.ulidviolation. - STRING_
URI_ REF_ VIOLATION - The data for the
string.uri_refviolation. - STRING_
URI_ VIOLATION - The data for the
string.uriviolation. - STRING_
UUID_ VIOLATION - The data for the
string.uuidviolation. - STRING_
WELL_ KNOWN_ REGEX_ VIOLATION - The data for the
string.well_known_regexviolation.