nominal_api/proto/
nominal.conjure.v1.rs

1// This file is @generated by prost-build.
2/// Options that control Protobuf to Conjure transcoding compatibility.
3#[derive(Clone, Copy, PartialEq, ::prost::Message)]
4pub struct ConjureCompatibility {
5    /// Marks a message as a Conjure Union type. This allows Protobuf > JSON transcoding to emit JSON that adheres to the
6    /// [Conjure Union wire format](<https://github.com/palantir/conjure/blob/master/docs/spec/wire.md#54-union-json-format>).
7    #[prost(bool, tag = "1")]
8    pub union_message: bool,
9}
10/// Options that control Protobuf to Conjure transcoding compatibility.
11#[derive(Clone, Copy, PartialEq, ::prost::Message)]
12pub struct ConjureFieldCompatibility {
13    /// Denotes that the field is a map value that was wrapped for Protobuf, and should be unwrapped for Conjure compatibility.
14    #[prost(bool, tag = "1")]
15    pub map_value_wrapper: bool,
16}