Expand description
pbjson-types
provides the google.protobuf
types, commonly known as well-known-types,
with serde::Serialize
and serde::Deserialize
implementations
that are compliant with the protobuf JSON mapping
Note: Coverage of all types is currently incomplete, some may have non-compliant implementations
Modules§
- descriptor_
proto - Nested message and enum types in
DescriptorProto
. - enum_
descriptor_ proto - Nested message and enum types in
EnumDescriptorProto
. - extension_
range_ options - Nested message and enum types in
ExtensionRangeOptions
. - feature_
set - Nested message and enum types in
FeatureSet
. - feature_
set_ defaults - Nested message and enum types in
FeatureSetDefaults
. - field
- Nested message and enum types in
Field
. - field_
descriptor_ proto - Nested message and enum types in
FieldDescriptorProto
. - field_
options - Nested message and enum types in
FieldOptions
. - file_
options - Nested message and enum types in
FileOptions
. - generated_
code_ info - Nested message and enum types in
GeneratedCodeInfo
. - method_
options - Nested message and enum types in
MethodOptions
. - source_
code_ info - Nested message and enum types in
SourceCodeInfo
. - uninterpreted_
option - Nested message and enum types in
UninterpretedOption
. - value
Structs§
- Any
- Api
- Bool
Value - Bytes
Value - Descriptor
Proto - Double
Value - Duration
- Empty
- Enum
- Enum
Descriptor Proto - Enum
Options - Enum
Value - Enum
Value Descriptor Proto - Enum
Value Options - Extension
Range Options - Feature
Set - Feature
SetDefaults - Field
- Field
Descriptor Proto - Field
Mask - Field
Options - File
Descriptor Proto - File
Descriptor Set - File
Options - Float
Value - Generated
Code Info - Int32
Value - Int64
Value - List
Value - Message
Options - Method
- Method
Descriptor Proto - Method
Options - Mixin
- Oneof
Descriptor Proto - Oneof
Options - Option
- Service
Descriptor Proto - Service
Options - Source
Code Info - Source
Context - String
Value - Struct
- Timestamp
- Type
- UInt32
Value - UInt64
Value - Uninterpreted
Option - Value