Expand description
The well-known types (google.protobuf), with their proto3 JSON
mapping: FieldMask, Timestamp, Duration, Empty and the
others.
They are pbjson-types’, except for
three whose JSON form there isn’t quite proto3’s: FieldMask, written
as one string of camel case paths, Timestamp, written in UTC with a
Z, and Any, whose message’s fields sit next to its @type.
Re-exports§
pub use crate::rpc::Any;
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§
- 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 - A set of field paths (
google.protobuf.FieldMask), such as the fields an update changes. The paths are the proto field names, such assize_gib; in JSON they are one string of camel case paths, such as"sizeGib,tags". - 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
- A point in time (
google.protobuf.Timestamp): seconds and nanoseconds since 1970-01-01T00:00:00Z. In JSON it is RFC 3339 in UTC, such as"2026-10-30T12:00:00.500Z", with 0, 3, 6 or 9 fractional digits. - Type
- UInt32
Value - UInt64
Value - Uninterpreted
Option - Value