Module prost

Source
Available on crate feature prost only.
Expand description

Wellknown types for Prost

Type Aliases§

Timestamp
Protobuf google.protobuf.Timestamp
Duration
Protobuf google.protobuf.Duration
Struct
Protobuf google.protobuf.Struct
Value
Protobuf google.protobuf.Value
Empty
Protobuf google.protobuf.Empty
ListValue
Protobuf google.protobuf.ListValue
Any
Protobuf google.protobuf.Any
BoolValue
Protobuf google.protobuf.BoolValue
Int32Value
Protobuf google.protobuf.Int32Value
Int64Value
Protobuf google.protobuf.Int64Value
UInt32Value
Protobuf google.protobuf.UInt32Value
UInt64Value
Protobuf google.protobuf.UInt64Value
FloatValue
Protobuf google.protobuf.FloatValue
DoubleValue
Protobuf google.protobuf.DoubleValue
StringValue
Protobuf google.protobuf.StringValue
BytesValue
Protobuf google.protobuf.BytesValue

Modules§

compiler

Enums§

DurationError
A duration handling error.
TimestampError
A timestamp handling error.

Modules§

value
Nested message and enum types in Value.
descriptor_proto
Nested message and enum types in DescriptorProto.
field_descriptor_proto
Nested message and enum types in FieldDescriptorProto.
enum_descriptor_proto
Nested message and enum types in EnumDescriptorProto.
file_options
Nested message and enum types in FileOptions.
field_options
Nested message and enum types in FieldOptions.
method_options
Nested message and enum types in MethodOptions.
uninterpreted_option
Nested message and enum types in UninterpretedOption.
source_code_info
Nested message and enum types in SourceCodeInfo.
generated_code_info
Nested message and enum types in GeneratedCodeInfo.
field
Nested message and enum types in Field.

Structs§

FileDescriptorSet
The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.
FileDescriptorProto
Describes a complete .proto file.
DescriptorProto
Describes a message type.
ExtensionRangeOptions
FieldDescriptorProto
Describes a field within a message.
OneofDescriptorProto
Describes a oneof.
EnumDescriptorProto
Describes an enum type.
EnumValueDescriptorProto
Describes a value within an enum.
ServiceDescriptorProto
Describes a service.
MethodDescriptorProto
Describes a method of a service.
FileOptions
Each of the definitions above may have “options” attached. These are just annotations which may cause code to be generated slightly differently or may contain hints for code that manipulates protocol messages.
MessageOptions
FieldOptions
OneofOptions
EnumOptions
EnumValueOptions
ServiceOptions
MethodOptions
UninterpretedOption
A message representing a option the parser does not recognize. This only appears in options protos created by the compiler::Parser class. DescriptorPool resolves these when building Descriptor objects. Therefore, options protos in descriptor objects (e.g. returned by Descriptor::options(), or produced by Descriptor::CopyTo()) will never have UninterpretedOptions in them.
SourceCodeInfo
Encapsulates information about the original source file from which a FileDescriptorProto was generated.
GeneratedCodeInfo
Describes the relationship between generated code and its original source file. A GeneratedCodeInfo message is associated with only one generated source file, but may contain references to different source .proto files.
SourceContext
SourceContext represents information about the source of a protobuf element, like the file in which it is defined.
Type
A protocol buffer message type.
Field
A single field of a message type.
Enum
Enum type definition.
EnumValue
Enum value definition.
Option
A protocol buffer option, which can be attached to a message, field, enumeration, etc.

Enums§

Syntax
The syntax in which a protocol buffer element is defined.

Structs§

Api
Api is a light-weight descriptor for an API Interface.
Method
Method represents a method of an API interface.
Mixin
Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows:
FieldMask
FieldMask represents a set of symbolic field paths, for example:

Enums§

NullValue
NullValue is a singleton enumeration to represent the null value for the Value type union.