Protocol Buffers well-known types.
Note that the documentation for the types defined in this crate are generated from the Protobuf definitions, so code examples are not in Rust.
See the Protobuf reference for more information about well-known types.
Api is a light-weight descriptor for an API Interface.
Describes a message type.
A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". It is related to Timestamp in that the difference between two Timestamp values is a Duration and it can be added or subtracted from a Timestamp. Range is approximately +-10,000 years.
Enum type definition.
Describes an enum type.
Enum value definition.
Describes a value within an enum.
A single field of a message type.
Describes a field within a message.
Describes a complete .proto file.
The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.
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.
Method represents a method of an API interface.
Describes a method of a service.
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:
Describes a oneof.
A protocol buffer option, which can be attached to a message, field, enumeration, etc.
Describes a service.
Encapsulates information about the original source file from which a FileDescriptorProto was generated.
A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one.
A protocol buffer message type.
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.
The syntax in which a protocol buffer element is defined.