Skip to main content

Module string_violations

Module string_violations 

Source
Available on crate feature protovalidate only.

Enums§

StringViolation
All types of violations for string fields.

Constants§

STRING_ADDRESS_VIOLATION
The data for the string.address violation.
STRING_CONST_VIOLATION
The data for the string.const violation.
STRING_CONTAINS_VIOLATION
The data for the string.contains violation.
STRING_EMAIL_VIOLATION
The data for the string.email violation.
STRING_HOSTNAME_VIOLATION
The data for the string.hostname violation.
STRING_HOST_AND_PORT_VIOLATION
The data for the string.host_and_port violation.
STRING_IN_VIOLATION
The data for the string.in violation.
STRING_IPV4_PREFIX_VIOLATION
The data for the string.ipv4_prefix violation.
STRING_IPV4_VIOLATION
The data for the string.ipv4 violation.
STRING_IPV4_WITH_PREFIXLEN_VIOLATION
The data for the string.ipv4_with_prefixlen violation.
STRING_IPV6_PREFIX_VIOLATION
The data for the string.ipv6_prefix violation.
STRING_IPV6_VIOLATION
The data for the string.ipv6 violation.
STRING_IPV6_WITH_PREFIXLEN_VIOLATION
The data for the string.ipv6_with_prefixlen violation.
STRING_IP_PREFIX_VIOLATION
The data for the string.ip_prefix violation.
STRING_IP_VIOLATION
The data for the string.ip violation.
STRING_IP_WITH_PREFIXLEN_VIOLATION
The data for the string.ip_with_prefixlen violation.
STRING_LEN_BYTES_VIOLATION
The data for the string.len_bytes violation.
STRING_LEN_VIOLATION
The data for the string.len violation.
STRING_MAX_BYTES_VIOLATION
The data for the string.max_bytes violation.
STRING_MAX_LEN_VIOLATION
The data for the string.max_len violation.
STRING_MIN_BYTES_VIOLATION
The data for the string.min_bytes violation.
STRING_MIN_LEN_VIOLATION
The data for the string.min_len violation.
STRING_NOT_CONTAINS_VIOLATION
The data for the string.not_contains violation.
STRING_NOT_IN_VIOLATION
The data for the string.not_in violation.
STRING_PATTERN_VIOLATION
The data for the string.pattern violation.
STRING_PREFIX_VIOLATION
The data for the string.prefix violation.
STRING_SUFFIX_VIOLATION
The data for the string.suffix violation.
STRING_TUUID_VIOLATION
The data for the string.tuuid violation.
STRING_ULID_VIOLATION
The data for the string.ulid violation.
STRING_URI_REF_VIOLATION
The data for the string.uri_ref violation.
STRING_URI_VIOLATION
The data for the string.uri violation.
STRING_UUID_VIOLATION
The data for the string.uuid violation.
STRING_WELL_KNOWN_REGEX_VIOLATION
The data for the string.well_known_regex violation.