Crate prost_validate_types

Source

Modules§

bytes_rules
Nested message and enum types in BytesRules.
field_rules
Nested message and enum types in FieldRules.
string_rules
Nested message and enum types in StringRules.

Structs§

AnyRules
AnyRules describe constraints applied exclusively to the google.protobuf.Any well-known type
BoolRules
BoolRules describes the constraints applied to bool values
BytesRules
BytesRules describe the constraints applied to bytes values
DoubleRules
DoubleRules describes the constraints applied to double values
DurationRules
DurationRules describe the constraints applied exclusively to the google.protobuf.Duration well-known type
EnumRules
EnumRules describe the constraints applied to enum values
FieldRules
FieldRules encapsulates the rules for each type of field. Depending on the field, the correct set should be used to ensure proper validations.
Fixed32Rules
Fixed32Rules describes the constraints applied to fixed32 values
Fixed64Rules
Fixed64Rules describes the constraints applied to fixed64 values
FloatRules
FloatRules describes the constraints applied to float values
Int32Rules
Int32Rules describes the constraints applied to int32 values
Int64Rules
Int64Rules describes the constraints applied to int64 values
MapRules
MapRules describe the constraints applied to map values
MessageRules
MessageRules describe the constraints applied to embedded message values. For message-type fields, validation is performed recursively.
RepeatedRules
RepeatedRules describe the constraints applied to repeated values
SFixed32Rules
SFixed32Rules describes the constraints applied to sfixed32 values
SFixed64Rules
SFixed64Rules describes the constraints applied to sfixed64 values
SInt32Rules
SInt32Rules describes the constraints applied to sint32 values
SInt64Rules
SInt64Rules describes the constraints applied to sint64 values
StringRules
StringRules describe the constraints applied to string values
TimestampRules
TimestampRules describe the constraints applied exclusively to the google.protobuf.Timestamp well-known type
UInt32Rules
UInt32Rules describes the constraints applied to uint32 values
UInt64Rules
UInt64Rules describes the constraints applied to uint64 values

Enums§

KnownRegex
WellKnownRegex contain some well-known patterns.

Statics§

DESCRIPTOR_POOL

Traits§

FieldRulesExt
MessageRulesExt
OneofRulesExt