tinc/
well_known.rs

1//! Well Known Protobuf types
2
3/// Wellknown types for Prost
4#[cfg(feature = "prost")]
5pub mod prost {
6    pub use prost_types::*;
7
8    /// Protobuf `google.protobuf.Timestamp`
9    pub type Timestamp = prost_types::Timestamp;
10    /// Protobuf `google.protobuf.Duration`
11    pub type Duration = prost_types::Duration;
12    /// Protobuf `google.protobuf.Struct`
13    pub type Struct = prost_types::Struct;
14    /// Protobuf `google.protobuf.Value`
15    pub type Value = prost_types::Value;
16    /// Protobuf `google.protobuf.Empty`
17    pub type Empty = ();
18    /// Protobuf `google.protobuf.ListValue`
19    pub type ListValue = prost_types::ListValue;
20    /// Protobuf `google.protobuf.Any`
21    pub type Any = prost_types::Any;
22    /// Protobuf `google.protobuf.BoolValue`
23    pub type BoolValue = bool;
24    /// Protobuf `google.protobuf.Int32Value`
25    pub type Int32Value = i32;
26    /// Protobuf `google.protobuf.Int64Value`
27    pub type Int64Value = i64;
28    /// Protobuf `google.protobuf.UInt32Value`
29    pub type UInt32Value = u32;
30    /// Protobuf `google.protobuf.UInt64Value`
31    pub type UInt64Value = u64;
32    /// Protobuf `google.protobuf.FloatValue`
33    pub type FloatValue = f32;
34    /// Protobuf `google.protobuf.DoubleValue`
35    pub type DoubleValue = f64;
36    /// Protobuf `google.protobuf.StringValue`
37    pub type StringValue = std::string::String;
38    /// Protobuf `google.protobuf.BytesValue`
39    pub type BytesValue = bytes::Bytes;
40}