Crate bilrost_types

Source
Expand description

Analogs for protobuf well-known types, implemented alongside the bilrost crate. See that crate’s documentation for details about the library, and the Protobuf reference for more information about the use cases and semantics of these types.

Structs§

Duration
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.
ListValue
ListValue is a wrapper around a repeated list of values, analogous to a JSON list value.
StructValue
StructValue represents a structured data value analogous to a JSON object value.
Timestamp
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 indefinitely.

Enums§

DurationError
A duration handling error.
TimestampError
A timestamp handling error.
Value
Value represents a dynamically typed JSON value which can be either null, a number (signed, unsigned, or floating point in 64 bits), a string, a boolean, a string-keyed associative map of other values, or a list of values.