Crate prost_validate_types

source

Modules§

Structs§

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

Enums§

  • WellKnownRegex contain some well-known patterns.

Statics§

Traits§