1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 2 | #[allow(missing_docs)] // documentation missing in model
|
3 3 | #[derive(
|
4 4 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5 5 | )]
|
6 - | pub struct HttpQueryParamsOnlyOperationOutput {}
|
7 - | impl HttpQueryParamsOnlyOperationOutput {
|
8 - | /// Creates a new builder-style object to manufacture [`HttpQueryParamsOnlyOperationOutput`](crate::output::HttpQueryParamsOnlyOperationOutput).
|
9 - | pub fn builder() -> crate::output::http_query_params_only_operation_output::Builder {
|
10 - | crate::output::http_query_params_only_operation_output::Builder::default()
|
6 + | pub struct StringPayloadOutput {
|
7 + | #[allow(missing_docs)] // documentation missing in model
|
8 + | pub payload: ::std::option::Option<::std::string::String>,
|
9 + | }
|
10 + | impl StringPayloadOutput {
|
11 + | #[allow(missing_docs)] // documentation missing in model
|
12 + | pub fn payload(&self) -> ::std::option::Option<&str> {
|
13 + | self.payload.as_deref()
|
11 14 | }
|
12 15 | }
|
13 - |
|
14 - | #[allow(missing_docs)] // documentation missing in model
|
15 - | #[derive(
|
16 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
17 - | )]
|
18 - | pub struct QueryPrecedenceOutput {}
|
19 - | impl QueryPrecedenceOutput {
|
20 - | /// Creates a new builder-style object to manufacture [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
21 - | pub fn builder() -> crate::output::query_precedence_output::Builder {
|
22 - | crate::output::query_precedence_output::Builder::default()
|
16 + | impl StringPayloadOutput {
|
17 + | /// Creates a new builder-style object to manufacture [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
18 + | pub fn builder() -> crate::output::string_payload_output::Builder {
|
19 + | crate::output::string_payload_output::Builder::default()
|
23 20 | }
|
24 21 | }
|
25 22 |
|
26 23 | #[allow(missing_docs)] // documentation missing in model
|
27 24 | #[derive(
|
28 25 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
29 26 | )]
|
30 - | pub struct EmptyStructWithContentOnWireOpOutput {
|
27 + | pub struct PrimitiveIntHeaderOutput {
|
31 28 | #[allow(missing_docs)] // documentation missing in model
|
32 - | pub empty: ::std::option::Option<crate::model::EmptyStruct>,
|
29 + | pub field: i32,
|
33 30 | }
|
34 - | impl EmptyStructWithContentOnWireOpOutput {
|
31 + | impl PrimitiveIntHeaderOutput {
|
35 32 | #[allow(missing_docs)] // documentation missing in model
|
36 - | pub fn empty(&self) -> ::std::option::Option<&crate::model::EmptyStruct> {
|
37 - | self.empty.as_ref()
|
33 + | pub fn field(&self) -> i32 {
|
34 + | self.field
|
38 35 | }
|
39 36 | }
|
40 - | impl EmptyStructWithContentOnWireOpOutput {
|
41 - | /// Creates a new builder-style object to manufacture [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
42 - | pub fn builder() -> crate::output::empty_struct_with_content_on_wire_op_output::Builder {
|
43 - | crate::output::empty_struct_with_content_on_wire_op_output::Builder::default()
|
37 + | impl PrimitiveIntHeaderOutput {
|
38 + | /// Creates a new builder-style object to manufacture [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
39 + | pub fn builder() -> crate::output::primitive_int_header_output::Builder {
|
40 + | crate::output::primitive_int_header_output::Builder::default()
|
44 41 | }
|
45 42 | }
|
46 43 |
|
47 44 | #[allow(missing_docs)] // documentation missing in model
|
48 45 | #[derive(
|
49 46 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
50 47 | )]
|
51 - | pub struct CaseInsensitiveErrorOperationOutput {}
|
52 - | impl CaseInsensitiveErrorOperationOutput {
|
53 - | /// Creates a new builder-style object to manufacture [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
54 - | pub fn builder() -> crate::output::case_insensitive_error_operation_output::Builder {
|
55 - | crate::output::case_insensitive_error_operation_output::Builder::default()
|
48 + | pub struct EnumQueryOutput {}
|
49 + | impl EnumQueryOutput {
|
50 + | /// Creates a new builder-style object to manufacture [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
51 + | pub fn builder() -> crate::output::enum_query_output::Builder {
|
52 + | crate::output::enum_query_output::Builder::default()
|
56 53 | }
|
57 54 | }
|
58 55 |
|
59 56 | #[allow(missing_docs)] // documentation missing in model
|
60 - | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
61 - | pub struct NullInNonSparseOutput {
|
57 + | #[derive(
|
58 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
59 + | )]
|
60 + | pub struct StatusResponseOutput {
|
62 61 | #[allow(missing_docs)] // documentation missing in model
|
63 - | pub list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
62 + | pub field: i32,
|
63 + | }
|
64 + | impl StatusResponseOutput {
|
65 + | #[allow(missing_docs)] // documentation missing in model
|
66 + | pub fn field(&self) -> i32 {
|
67 + | self.field
|
68 + | }
|
69 + | }
|
70 + | impl StatusResponseOutput {
|
71 + | /// Creates a new builder-style object to manufacture [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
72 + | pub fn builder() -> crate::output::status_response_output::Builder {
|
73 + | crate::output::status_response_output::Builder::default()
|
74 + | }
|
75 + | }
|
76 + |
|
77 + | #[allow(missing_docs)] // documentation missing in model
|
78 + | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
79 + | pub struct MapWithEnumKeyOpOutput {
|
64 80 | #[allow(missing_docs)] // documentation missing in model
|
65 81 | pub map: ::std::option::Option<
|
66 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
82 + | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
67 83 | >,
|
68 - | #[allow(missing_docs)] // documentation missing in model
|
69 - | pub union: ::std::option::Option<crate::model::SingleElementUnion>,
|
70 84 | }
|
71 - | impl NullInNonSparseOutput {
|
72 - | #[allow(missing_docs)] // documentation missing in model
|
73 - | pub fn list(&self) -> ::std::option::Option<&[::std::string::String]> {
|
74 - | self.list.as_deref()
|
75 - | }
|
85 + | impl MapWithEnumKeyOpOutput {
|
76 86 | #[allow(missing_docs)] // documentation missing in model
|
77 87 | pub fn map(
|
78 88 | &self,
|
79 89 | ) -> ::std::option::Option<
|
80 - | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
90 + | &::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
81 91 | > {
|
82 92 | self.map.as_ref()
|
83 93 | }
|
94 + | }
|
95 + | impl MapWithEnumKeyOpOutput {
|
96 + | /// Creates a new builder-style object to manufacture [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
97 + | pub fn builder() -> crate::output::map_with_enum_key_op_output::Builder {
|
98 + | crate::output::map_with_enum_key_op_output::Builder::default()
|
99 + | }
|
100 + | }
|
101 + |
|
102 + | #[allow(missing_docs)] // documentation missing in model
|
103 + | #[derive(
|
104 + | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
105 + | )]
|
106 + | pub struct PrimitiveIntOpOutput {
|
84 107 | #[allow(missing_docs)] // documentation missing in model
|
85 - | pub fn union(&self) -> ::std::option::Option<&crate::model::SingleElementUnion> {
|
86 - | self.union.as_ref()
|
108 + | pub value: i32,
|
109 + | }
|
110 + | impl PrimitiveIntOpOutput {
|
111 + | #[allow(missing_docs)] // documentation missing in model
|
112 + | pub fn value(&self) -> i32 {
|
113 + | self.value
|
87 114 | }
|
88 115 | }
|
89 - | impl NullInNonSparseOutput {
|
90 - | /// Creates a new builder-style object to manufacture [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
91 - | pub fn builder() -> crate::output::null_in_non_sparse_output::Builder {
|
92 - | crate::output::null_in_non_sparse_output::Builder::default()
|
116 + | impl PrimitiveIntOpOutput {
|
117 + | /// Creates a new builder-style object to manufacture [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
118 + | pub fn builder() -> crate::output::primitive_int_op_output::Builder {
|
119 + | crate::output::primitive_int_op_output::Builder::default()
|
93 120 | }
|
94 121 | }
|
95 122 |
|
96 123 | #[allow(missing_docs)] // documentation missing in model
|
97 124 | #[derive(
|
98 125 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
99 126 | )]
|
100 127 | pub struct EscapedStringValuesOutput {
|
101 128 | #[allow(missing_docs)] // documentation missing in model
|
102 129 | pub r#enum: ::std::option::Option<crate::model::EnumWithEscapedChars>,
|
103 130 | #[allow(missing_docs)] // documentation missing in model
|
104 131 | pub some_string: ::std::option::Option<::std::string::String>,
|
105 132 | }
|
106 133 | impl EscapedStringValuesOutput {
|
107 134 | #[allow(missing_docs)] // documentation missing in model
|
108 135 | pub fn r#enum(&self) -> ::std::option::Option<&crate::model::EnumWithEscapedChars> {
|
109 136 | self.r#enum.as_ref()
|
110 137 | }
|
111 138 | #[allow(missing_docs)] // documentation missing in model
|
112 139 | pub fn some_string(&self) -> ::std::option::Option<&str> {
|
113 140 | self.some_string.as_deref()
|
114 141 | }
|
115 142 | }
|
116 143 | impl EscapedStringValuesOutput {
|
117 144 | /// Creates a new builder-style object to manufacture [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
118 145 | pub fn builder() -> crate::output::escaped_string_values_output::Builder {
|
119 146 | crate::output::escaped_string_values_output::Builder::default()
|
120 147 | }
|
121 148 | }
|
122 149 |
|
123 - | #[allow(missing_docs)] // documentation missing in model
|
124 - | #[derive(
|
125 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
126 - | )]
|
127 - | pub struct PrimitiveIntOpOutput {
|
128 - | #[allow(missing_docs)] // documentation missing in model
|
129 - | pub value: i32,
|
130 - | }
|
131 - | impl PrimitiveIntOpOutput {
|
132 - | #[allow(missing_docs)] // documentation missing in model
|
133 - | pub fn value(&self) -> i32 {
|
134 - | self.value
|
135 - | }
|
136 - | }
|
137 - | impl PrimitiveIntOpOutput {
|
138 - | /// Creates a new builder-style object to manufacture [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
139 - | pub fn builder() -> crate::output::primitive_int_op_output::Builder {
|
140 - | crate::output::primitive_int_op_output::Builder::default()
|
141 - | }
|
142 - | }
|
143 - |
|
144 150 | #[allow(missing_docs)] // documentation missing in model
|
145 151 | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
146 - | pub struct MapWithEnumKeyOpOutput {
|
152 + | pub struct NullInNonSparseOutput {
|
153 + | #[allow(missing_docs)] // documentation missing in model
|
154 + | pub list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
147 155 | #[allow(missing_docs)] // documentation missing in model
|
148 156 | pub map: ::std::option::Option<
|
149 - | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
157 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
150 158 | >,
|
159 + | #[allow(missing_docs)] // documentation missing in model
|
160 + | pub union: ::std::option::Option<crate::model::SingleElementUnion>,
|
151 161 | }
|
152 - | impl MapWithEnumKeyOpOutput {
|
162 + | impl NullInNonSparseOutput {
|
163 + | #[allow(missing_docs)] // documentation missing in model
|
164 + | pub fn list(&self) -> ::std::option::Option<&[::std::string::String]> {
|
165 + | self.list.as_deref()
|
166 + | }
|
153 167 | #[allow(missing_docs)] // documentation missing in model
|
154 168 | pub fn map(
|
155 169 | &self,
|
156 170 | ) -> ::std::option::Option<
|
157 - | &::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
171 + | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
158 172 | > {
|
159 173 | self.map.as_ref()
|
160 174 | }
|
161 - | }
|
162 - | impl MapWithEnumKeyOpOutput {
|
163 - | /// Creates a new builder-style object to manufacture [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
164 - | pub fn builder() -> crate::output::map_with_enum_key_op_output::Builder {
|
165 - | crate::output::map_with_enum_key_op_output::Builder::default()
|
166 - | }
|
167 - | }
|
168 - |
|
169 - | #[allow(missing_docs)] // documentation missing in model
|
170 - | #[derive(
|
171 - | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
172 - | )]
|
173 - | pub struct StatusResponseOutput {
|
174 175 | #[allow(missing_docs)] // documentation missing in model
|
175 - | pub field: i32,
|
176 - | }
|
177 - | impl StatusResponseOutput {
|
178 - | #[allow(missing_docs)] // documentation missing in model
|
179 - | pub fn field(&self) -> i32 {
|
180 - | self.field
|
176 + | pub fn union(&self) -> ::std::option::Option<&crate::model::SingleElementUnion> {
|
177 + | self.union.as_ref()
|
181 178 | }
|
182 179 | }
|
183 - | impl StatusResponseOutput {
|
184 - | /// Creates a new builder-style object to manufacture [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
185 - | pub fn builder() -> crate::output::status_response_output::Builder {
|
186 - | crate::output::status_response_output::Builder::default()
|
180 + | impl NullInNonSparseOutput {
|
181 + | /// Creates a new builder-style object to manufacture [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
182 + | pub fn builder() -> crate::output::null_in_non_sparse_output::Builder {
|
183 + | crate::output::null_in_non_sparse_output::Builder::default()
|
187 184 | }
|
188 185 | }
|
189 186 |
|
190 187 | #[allow(missing_docs)] // documentation missing in model
|
191 188 | #[derive(
|
192 189 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
193 190 | )]
|
194 - | pub struct EnumQueryOutput {}
|
195 - | impl EnumQueryOutput {
|
196 - | /// Creates a new builder-style object to manufacture [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
197 - | pub fn builder() -> crate::output::enum_query_output::Builder {
|
198 - | crate::output::enum_query_output::Builder::default()
|
191 + | pub struct CaseInsensitiveErrorOperationOutput {}
|
192 + | impl CaseInsensitiveErrorOperationOutput {
|
193 + | /// Creates a new builder-style object to manufacture [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
194 + | pub fn builder() -> crate::output::case_insensitive_error_operation_output::Builder {
|
195 + | crate::output::case_insensitive_error_operation_output::Builder::default()
|
199 196 | }
|
200 197 | }
|
201 198 |
|
202 199 | #[allow(missing_docs)] // documentation missing in model
|
203 200 | #[derive(
|
204 201 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
205 202 | )]
|
206 - | pub struct PrimitiveIntHeaderOutput {
|
203 + | pub struct EmptyStructWithContentOnWireOpOutput {
|
207 204 | #[allow(missing_docs)] // documentation missing in model
|
208 - | pub field: i32,
|
205 + | pub empty: ::std::option::Option<crate::model::EmptyStruct>,
|
209 206 | }
|
210 - | impl PrimitiveIntHeaderOutput {
|
207 + | impl EmptyStructWithContentOnWireOpOutput {
|
211 208 | #[allow(missing_docs)] // documentation missing in model
|
212 - | pub fn field(&self) -> i32 {
|
213 - | self.field
|
209 + | pub fn empty(&self) -> ::std::option::Option<&crate::model::EmptyStruct> {
|
210 + | self.empty.as_ref()
|
214 211 | }
|
215 212 | }
|
216 - | impl PrimitiveIntHeaderOutput {
|
217 - | /// Creates a new builder-style object to manufacture [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
218 - | pub fn builder() -> crate::output::primitive_int_header_output::Builder {
|
219 - | crate::output::primitive_int_header_output::Builder::default()
|
213 + | impl EmptyStructWithContentOnWireOpOutput {
|
214 + | /// Creates a new builder-style object to manufacture [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
215 + | pub fn builder() -> crate::output::empty_struct_with_content_on_wire_op_output::Builder {
|
216 + | crate::output::empty_struct_with_content_on_wire_op_output::Builder::default()
|
220 217 | }
|
221 218 | }
|
222 219 |
|
223 220 | #[allow(missing_docs)] // documentation missing in model
|
224 221 | #[derive(
|
225 222 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
226 223 | )]
|
227 - | pub struct StringPayloadOutput {
|
228 - | #[allow(missing_docs)] // documentation missing in model
|
229 - | pub payload: ::std::option::Option<::std::string::String>,
|
230 - | }
|
231 - | impl StringPayloadOutput {
|
232 - | #[allow(missing_docs)] // documentation missing in model
|
233 - | pub fn payload(&self) -> ::std::option::Option<&str> {
|
234 - | self.payload.as_deref()
|
235 - | }
|
236 - | }
|
237 - | impl StringPayloadOutput {
|
238 - | /// Creates a new builder-style object to manufacture [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
239 - | pub fn builder() -> crate::output::string_payload_output::Builder {
|
240 - | crate::output::string_payload_output::Builder::default()
|
224 + | pub struct QueryPrecedenceOutput {}
|
225 + | impl QueryPrecedenceOutput {
|
226 + | /// Creates a new builder-style object to manufacture [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
227 + | pub fn builder() -> crate::output::query_precedence_output::Builder {
|
228 + | crate::output::query_precedence_output::Builder::default()
|
241 229 | }
|
242 230 | }
|
243 - | /// See [`HttpQueryParamsOnlyOperationOutput`](crate::output::HttpQueryParamsOnlyOperationOutput).
|
244 - | pub mod http_query_params_only_operation_output {
|
231 + | /// See [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
232 + | pub mod string_payload_output {
|
245 233 |
|
246 - | impl ::std::convert::From<Builder> for crate::output::HttpQueryParamsOnlyOperationOutput {
|
234 + | impl ::std::convert::From<Builder> for crate::output::StringPayloadOutput {
|
247 235 | fn from(builder: Builder) -> Self {
|
248 236 | builder.build()
|
249 237 | }
|
250 238 | }
|
251 - | /// A builder for [`HttpQueryParamsOnlyOperationOutput`](crate::output::HttpQueryParamsOnlyOperationOutput).
|
239 + | /// A builder for [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
252 240 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
253 - | pub struct Builder {}
|
241 + | pub struct Builder {
|
242 + | pub(crate) payload: ::std::option::Option<::std::string::String>,
|
243 + | }
|
254 244 | impl Builder {
|
255 - | /// Consumes the builder and constructs a [`HttpQueryParamsOnlyOperationOutput`](crate::output::HttpQueryParamsOnlyOperationOutput).
|
256 - | pub fn build(self) -> crate::output::HttpQueryParamsOnlyOperationOutput {
|
245 + | #[allow(missing_docs)] // documentation missing in model
|
246 + | pub fn payload(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
247 + | self.payload = input;
|
248 + | self
|
249 + | }
|
250 + | /// Consumes the builder and constructs a [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
251 + | pub fn build(self) -> crate::output::StringPayloadOutput {
|
257 252 | self.build_enforcing_all_constraints()
|
258 253 | }
|
259 - | fn build_enforcing_all_constraints(
|
260 - | self,
|
261 - | ) -> crate::output::HttpQueryParamsOnlyOperationOutput {
|
262 - | crate::output::HttpQueryParamsOnlyOperationOutput {}
|
254 + | fn build_enforcing_all_constraints(self) -> crate::output::StringPayloadOutput {
|
255 + | crate::output::StringPayloadOutput {
|
256 + | payload: self.payload,
|
257 + | }
|
263 258 | }
|
264 259 | }
|
265 260 | }
|
266 - | /// See [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
267 - | pub mod query_precedence_output {
|
261 + | /// See [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
262 + | pub mod primitive_int_header_output {
|
268 263 |
|
269 - | impl ::std::convert::From<Builder> for crate::output::QueryPrecedenceOutput {
|
264 + | impl ::std::convert::From<Builder> for crate::output::PrimitiveIntHeaderOutput {
|
270 265 | fn from(builder: Builder) -> Self {
|
271 266 | builder.build()
|
272 267 | }
|
273 268 | }
|
274 - | /// A builder for [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
269 + | /// A builder for [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
275 270 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
276 - | pub struct Builder {}
|
271 + | pub struct Builder {
|
272 + | pub(crate) field: ::std::option::Option<i32>,
|
273 + | }
|
277 274 | impl Builder {
|
278 - | /// Consumes the builder and constructs a [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
279 - | pub fn build(self) -> crate::output::QueryPrecedenceOutput {
|
275 + | #[allow(missing_docs)] // documentation missing in model
|
276 + | pub fn field(mut self, input: i32) -> Self {
|
277 + | self.field = Some(input);
|
278 + | self
|
279 + | }
|
280 + | /// Consumes the builder and constructs a [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
281 + | pub fn build(self) -> crate::output::PrimitiveIntHeaderOutput {
|
280 282 | self.build_enforcing_all_constraints()
|
281 283 | }
|
282 - | fn build_enforcing_all_constraints(self) -> crate::output::QueryPrecedenceOutput {
|
283 - | crate::output::QueryPrecedenceOutput {}
|
284 + | fn build_enforcing_all_constraints(self) -> crate::output::PrimitiveIntHeaderOutput {
|
285 + | crate::output::PrimitiveIntHeaderOutput {
|
286 + | field: self.field.unwrap_or(0i32),
|
287 + | }
|
284 288 | }
|
285 289 | }
|
286 290 | }
|
287 - | /// See [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
288 - | pub mod empty_struct_with_content_on_wire_op_output {
|
291 + | /// See [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
292 + | pub mod enum_query_output {
|
289 293 |
|
290 - | impl ::std::convert::From<Builder> for crate::output::EmptyStructWithContentOnWireOpOutput {
|
294 + | impl ::std::convert::From<Builder> for crate::output::EnumQueryOutput {
|
291 295 | fn from(builder: Builder) -> Self {
|
292 296 | builder.build()
|
293 297 | }
|
294 298 | }
|
295 - | /// A builder for [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
299 + | /// A builder for [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
296 300 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
297 - | pub struct Builder {
|
298 - | pub(crate) empty: ::std::option::Option<crate::model::EmptyStruct>,
|
299 - | }
|
301 + | pub struct Builder {}
|
300 302 | impl Builder {
|
301 - | #[allow(missing_docs)] // documentation missing in model
|
302 - | pub fn empty(mut self, input: ::std::option::Option<crate::model::EmptyStruct>) -> Self {
|
303 - | self.empty = input;
|
304 - | self
|
305 - | }
|
306 - | /// Consumes the builder and constructs a [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
307 - | pub fn build(self) -> crate::output::EmptyStructWithContentOnWireOpOutput {
|
303 + | /// Consumes the builder and constructs a [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
304 + | pub fn build(self) -> crate::output::EnumQueryOutput {
|
308 305 | self.build_enforcing_all_constraints()
|
309 306 | }
|
310 - | fn build_enforcing_all_constraints(
|
311 - | self,
|
312 - | ) -> crate::output::EmptyStructWithContentOnWireOpOutput {
|
313 - | crate::output::EmptyStructWithContentOnWireOpOutput { empty: self.empty }
|
307 + | fn build_enforcing_all_constraints(self) -> crate::output::EnumQueryOutput {
|
308 + | crate::output::EnumQueryOutput {}
|
314 309 | }
|
315 310 | }
|
316 311 | }
|
317 - | /// See [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
318 - | pub mod case_insensitive_error_operation_output {
|
312 + | /// See [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
313 + | pub mod status_response_output {
|
319 314 |
|
320 - | impl ::std::convert::From<Builder> for crate::output::CaseInsensitiveErrorOperationOutput {
|
315 + | impl ::std::convert::From<Builder> for crate::output::StatusResponseOutput {
|
321 316 | fn from(builder: Builder) -> Self {
|
322 317 | builder.build()
|
323 318 | }
|
324 319 | }
|
325 - | /// A builder for [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
320 + | /// A builder for [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
326 321 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
327 - | pub struct Builder {}
|
322 + | pub struct Builder {
|
323 + | pub(crate) field: ::std::option::Option<i32>,
|
324 + | }
|
328 325 | impl Builder {
|
329 - | /// Consumes the builder and constructs a [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
330 - | pub fn build(self) -> crate::output::CaseInsensitiveErrorOperationOutput {
|
326 + | #[allow(missing_docs)] // documentation missing in model
|
327 + | pub fn field(mut self, input: i32) -> Self {
|
328 + | self.field = Some(input);
|
329 + | self
|
330 + | }
|
331 + | /// Consumes the builder and constructs a [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
332 + | pub fn build(self) -> crate::output::StatusResponseOutput {
|
331 333 | self.build_enforcing_all_constraints()
|
332 334 | }
|
333 - | fn build_enforcing_all_constraints(
|
334 - | self,
|
335 - | ) -> crate::output::CaseInsensitiveErrorOperationOutput {
|
336 - | crate::output::CaseInsensitiveErrorOperationOutput {}
|
335 + | fn build_enforcing_all_constraints(self) -> crate::output::StatusResponseOutput {
|
336 + | crate::output::StatusResponseOutput {
|
337 + | field: self.field.unwrap_or(0i32),
|
338 + | }
|
337 339 | }
|
338 340 | }
|
339 341 | }
|
340 - | /// See [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
341 - | pub mod null_in_non_sparse_output {
|
342 + | /// See [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
343 + | pub mod map_with_enum_key_op_output {
|
342 344 |
|
343 - | impl ::std::convert::From<Builder> for crate::output::NullInNonSparseOutput {
|
345 + | impl ::std::convert::From<Builder> for crate::output::MapWithEnumKeyOpOutput {
|
344 346 | fn from(builder: Builder) -> Self {
|
345 347 | builder.build()
|
346 348 | }
|
347 349 | }
|
348 - | /// A builder for [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
350 + | /// A builder for [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
349 351 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
350 352 | pub struct Builder {
|
351 - | pub(crate) list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
352 353 | pub(crate) map: ::std::option::Option<
|
353 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
354 + | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
354 355 | >,
|
355 - | pub(crate) union: ::std::option::Option<crate::model::SingleElementUnion>,
|
356 356 | }
|
357 357 | impl Builder {
|
358 - | #[allow(missing_docs)] // documentation missing in model
|
359 - | pub fn list(
|
360 - | mut self,
|
361 - | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
362 - | ) -> Self {
|
363 - | self.list = input;
|
364 - | self
|
365 - | }
|
366 358 | #[allow(missing_docs)] // documentation missing in model
|
367 359 | pub fn map(
|
368 360 | mut self,
|
369 361 | input: ::std::option::Option<
|
370 - | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
362 + | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
371 363 | >,
|
372 364 | ) -> Self {
|
373 365 | self.map = input;
|
374 366 | self
|
375 367 | }
|
368 + | /// Consumes the builder and constructs a [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
369 + | pub fn build(self) -> crate::output::MapWithEnumKeyOpOutput {
|
370 + | self.build_enforcing_all_constraints()
|
371 + | }
|
372 + | fn build_enforcing_all_constraints(self) -> crate::output::MapWithEnumKeyOpOutput {
|
373 + | crate::output::MapWithEnumKeyOpOutput { map: self.map }
|
374 + | }
|
375 + | }
|
376 + | }
|
377 + | /// See [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
378 + | pub mod primitive_int_op_output {
|
379 + |
|
380 + | impl ::std::convert::From<Builder> for crate::output::PrimitiveIntOpOutput {
|
381 + | fn from(builder: Builder) -> Self {
|
382 + | builder.build()
|
383 + | }
|
384 + | }
|
385 + | /// A builder for [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
386 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
387 + | pub struct Builder {
|
388 + | pub(crate) value: ::std::option::Option<i32>,
|
389 + | }
|
390 + | impl Builder {
|
376 391 | #[allow(missing_docs)] // documentation missing in model
|
377 - | pub fn union(
|
378 - | mut self,
|
379 - | input: ::std::option::Option<crate::model::SingleElementUnion>,
|
380 - | ) -> Self {
|
381 - | self.union = input;
|
392 + | pub fn value(mut self, input: i32) -> Self {
|
393 + | self.value = Some(input);
|
382 394 | self
|
383 395 | }
|
384 - | /// Consumes the builder and constructs a [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
385 - | pub fn build(self) -> crate::output::NullInNonSparseOutput {
|
396 + | /// Consumes the builder and constructs a [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
397 + | pub fn build(self) -> crate::output::PrimitiveIntOpOutput {
|
386 398 | self.build_enforcing_all_constraints()
|
387 399 | }
|
388 - | fn build_enforcing_all_constraints(self) -> crate::output::NullInNonSparseOutput {
|
389 - | crate::output::NullInNonSparseOutput {
|
390 - | list: self.list,
|
391 - | map: self.map,
|
392 - | union: self.union,
|
400 + | fn build_enforcing_all_constraints(self) -> crate::output::PrimitiveIntOpOutput {
|
401 + | crate::output::PrimitiveIntOpOutput {
|
402 + | value: self.value.unwrap_or(0i32),
|
393 403 | }
|
394 404 | }
|
395 405 | }
|
396 406 | }
|
397 407 | /// See [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
398 408 | pub mod escaped_string_values_output {
|
399 409 |
|
400 410 | impl ::std::convert::From<Builder> for crate::output::EscapedStringValuesOutput {
|
401 411 | fn from(builder: Builder) -> Self {
|
402 412 | builder.build()
|
403 413 | }
|
404 414 | }
|
405 415 | /// A builder for [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
406 416 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
407 417 | pub struct Builder {
|
408 418 | pub(crate) r#enum: ::std::option::Option<crate::model::EnumWithEscapedChars>,
|
409 419 | pub(crate) some_string: ::std::option::Option<::std::string::String>,
|
410 420 | }
|
411 421 | impl Builder {
|
412 422 | #[allow(missing_docs)] // documentation missing in model
|
413 423 | pub fn r#enum(
|
414 424 | mut self,
|
415 425 | input: ::std::option::Option<crate::model::EnumWithEscapedChars>,
|
416 426 | ) -> Self {
|
417 427 | self.r#enum = input;
|
418 428 | self
|
419 429 | }
|
420 430 | #[allow(missing_docs)] // documentation missing in model
|
421 431 | pub fn some_string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
422 432 | self.some_string = input;
|
423 433 | self
|
424 434 | }
|
425 435 | /// Consumes the builder and constructs a [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
426 436 | pub fn build(self) -> crate::output::EscapedStringValuesOutput {
|
427 437 | self.build_enforcing_all_constraints()
|
428 438 | }
|
429 439 | fn build_enforcing_all_constraints(self) -> crate::output::EscapedStringValuesOutput {
|
430 440 | crate::output::EscapedStringValuesOutput {
|
431 441 | r#enum: self.r#enum,
|
432 442 | some_string: self.some_string,
|
433 443 | }
|
434 444 | }
|
435 445 | }
|
436 446 | }
|
437 - | /// See [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
438 - | pub mod primitive_int_op_output {
|
447 + | /// See [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
448 + | pub mod null_in_non_sparse_output {
|
439 449 |
|
440 - | impl ::std::convert::From<Builder> for crate::output::PrimitiveIntOpOutput {
|
450 + | impl ::std::convert::From<Builder> for crate::output::NullInNonSparseOutput {
|
441 451 | fn from(builder: Builder) -> Self {
|
442 452 | builder.build()
|
443 453 | }
|
444 454 | }
|
445 - | /// A builder for [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
455 + | /// A builder for [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
446 456 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
447 457 | pub struct Builder {
|
448 - | pub(crate) value: ::std::option::Option<i32>,
|
458 + | pub(crate) list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
459 + | pub(crate) map: ::std::option::Option<
|
460 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
461 + | >,
|
462 + | pub(crate) union: ::std::option::Option<crate::model::SingleElementUnion>,
|
449 463 | }
|
450 464 | impl Builder {
|
451 465 | #[allow(missing_docs)] // documentation missing in model
|
452 - | pub fn value(mut self, input: i32) -> Self {
|
453 - | self.value = Some(input);
|
466 + | pub fn list(
|
467 + | mut self,
|
468 + | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
469 + | ) -> Self {
|
470 + | self.list = input;
|
454 471 | self
|
455 472 | }
|
456 - | /// Consumes the builder and constructs a [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
457 - | pub fn build(self) -> crate::output::PrimitiveIntOpOutput {
|
458 - | self.build_enforcing_all_constraints()
|
459 - | }
|
460 - | fn build_enforcing_all_constraints(self) -> crate::output::PrimitiveIntOpOutput {
|
461 - | crate::output::PrimitiveIntOpOutput {
|
462 - | value: self.value.unwrap_or(0i32),
|
463 - | }
|
464 - | }
|
465 - | }
|
466 - | }
|
467 - | /// See [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
468 - | pub mod map_with_enum_key_op_output {
|
469 - |
|
470 - | impl ::std::convert::From<Builder> for crate::output::MapWithEnumKeyOpOutput {
|
471 - | fn from(builder: Builder) -> Self {
|
472 - | builder.build()
|
473 - | }
|
474 - | }
|
475 - | /// A builder for [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
476 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
477 - | pub struct Builder {
|
478 - | pub(crate) map: ::std::option::Option<
|
479 - | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
480 - | >,
|
481 - | }
|
482 - | impl Builder {
|
483 473 | #[allow(missing_docs)] // documentation missing in model
|
484 474 | pub fn map(
|
485 475 | mut self,
|
486 476 | input: ::std::option::Option<
|
487 - | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
477 + | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
488 478 | >,
|
489 479 | ) -> Self {
|
490 480 | self.map = input;
|
491 481 | self
|
492 482 | }
|
493 - | /// Consumes the builder and constructs a [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
494 - | pub fn build(self) -> crate::output::MapWithEnumKeyOpOutput {
|
495 - | self.build_enforcing_all_constraints()
|
496 - | }
|
497 - | fn build_enforcing_all_constraints(self) -> crate::output::MapWithEnumKeyOpOutput {
|
498 - | crate::output::MapWithEnumKeyOpOutput { map: self.map }
|
499 - | }
|
500 - | }
|
501 - | }
|
502 - | /// See [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
503 - | pub mod status_response_output {
|
504 - |
|
505 - | impl ::std::convert::From<Builder> for crate::output::StatusResponseOutput {
|
506 - | fn from(builder: Builder) -> Self {
|
507 - | builder.build()
|
508 - | }
|
509 - | }
|
510 - | /// A builder for [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
511 - | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
512 - | pub struct Builder {
|
513 - | pub(crate) field: ::std::option::Option<i32>,
|
514 - | }
|
515 - | impl Builder {
|
516 483 | #[allow(missing_docs)] // documentation missing in model
|
517 - | pub fn field(mut self, input: i32) -> Self {
|
518 - | self.field = Some(input);
|
484 + | pub fn union(
|
485 + | mut self,
|
486 + | input: ::std::option::Option<crate::model::SingleElementUnion>,
|
487 + | ) -> Self {
|
488 + | self.union = input;
|
519 489 | self
|
520 490 | }
|
521 - | /// Consumes the builder and constructs a [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
522 - | pub fn build(self) -> crate::output::StatusResponseOutput {
|
491 + | /// Consumes the builder and constructs a [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
492 + | pub fn build(self) -> crate::output::NullInNonSparseOutput {
|
523 493 | self.build_enforcing_all_constraints()
|
524 494 | }
|
525 - | fn build_enforcing_all_constraints(self) -> crate::output::StatusResponseOutput {
|
526 - | crate::output::StatusResponseOutput {
|
527 - | field: self.field.unwrap_or(0i32),
|
495 + | fn build_enforcing_all_constraints(self) -> crate::output::NullInNonSparseOutput {
|
496 + | crate::output::NullInNonSparseOutput {
|
497 + | list: self.list,
|
498 + | map: self.map,
|
499 + | union: self.union,
|
528 500 | }
|
529 501 | }
|
530 502 | }
|
531 503 | }
|
532 - | /// See [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
533 - | pub mod enum_query_output {
|
504 + | /// See [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
505 + | pub mod case_insensitive_error_operation_output {
|
534 506 |
|
535 - | impl ::std::convert::From<Builder> for crate::output::EnumQueryOutput {
|
507 + | impl ::std::convert::From<Builder> for crate::output::CaseInsensitiveErrorOperationOutput {
|
536 508 | fn from(builder: Builder) -> Self {
|
537 509 | builder.build()
|
538 510 | }
|
539 511 | }
|
540 - | /// A builder for [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
512 + | /// A builder for [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
541 513 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
542 514 | pub struct Builder {}
|
543 515 | impl Builder {
|
544 - | /// Consumes the builder and constructs a [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
545 - | pub fn build(self) -> crate::output::EnumQueryOutput {
|
516 + | /// Consumes the builder and constructs a [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
517 + | pub fn build(self) -> crate::output::CaseInsensitiveErrorOperationOutput {
|
546 518 | self.build_enforcing_all_constraints()
|
547 519 | }
|
548 - | fn build_enforcing_all_constraints(self) -> crate::output::EnumQueryOutput {
|
549 - | crate::output::EnumQueryOutput {}
|
520 + | fn build_enforcing_all_constraints(
|
521 + | self,
|
522 + | ) -> crate::output::CaseInsensitiveErrorOperationOutput {
|
523 + | crate::output::CaseInsensitiveErrorOperationOutput {}
|
550 524 | }
|
551 525 | }
|
552 526 | }
|
553 - | /// See [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
554 - | pub mod primitive_int_header_output {
|
527 + | /// See [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
528 + | pub mod empty_struct_with_content_on_wire_op_output {
|
555 529 |
|
556 - | impl ::std::convert::From<Builder> for crate::output::PrimitiveIntHeaderOutput {
|
530 + | impl ::std::convert::From<Builder> for crate::output::EmptyStructWithContentOnWireOpOutput {
|
557 531 | fn from(builder: Builder) -> Self {
|
558 532 | builder.build()
|
559 533 | }
|
560 534 | }
|
561 - | /// A builder for [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
535 + | /// A builder for [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
562 536 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
563 537 | pub struct Builder {
|
564 - | pub(crate) field: ::std::option::Option<i32>,
|
538 + | pub(crate) empty: ::std::option::Option<crate::model::EmptyStruct>,
|
565 539 | }
|
566 540 | impl Builder {
|
567 541 | #[allow(missing_docs)] // documentation missing in model
|
568 - | pub fn field(mut self, input: i32) -> Self {
|
569 - | self.field = Some(input);
|
542 + | pub fn empty(mut self, input: ::std::option::Option<crate::model::EmptyStruct>) -> Self {
|
543 + | self.empty = input;
|
570 544 | self
|
571 545 | }
|
572 - | /// Consumes the builder and constructs a [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
573 - | pub fn build(self) -> crate::output::PrimitiveIntHeaderOutput {
|
546 + | /// Consumes the builder and constructs a [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
547 + | pub fn build(self) -> crate::output::EmptyStructWithContentOnWireOpOutput {
|
574 548 | self.build_enforcing_all_constraints()
|
575 549 | }
|
576 - | fn build_enforcing_all_constraints(self) -> crate::output::PrimitiveIntHeaderOutput {
|
577 - | crate::output::PrimitiveIntHeaderOutput {
|
578 - | field: self.field.unwrap_or(0i32),
|
579 - | }
|
550 + | fn build_enforcing_all_constraints(
|
551 + | self,
|
552 + | ) -> crate::output::EmptyStructWithContentOnWireOpOutput {
|
553 + | crate::output::EmptyStructWithContentOnWireOpOutput { empty: self.empty }
|
580 554 | }
|
581 555 | }
|
582 556 | }
|
583 - | /// See [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
584 - | pub mod string_payload_output {
|
557 + | /// See [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
558 + | pub mod query_precedence_output {
|
585 559 |
|
586 - | impl ::std::convert::From<Builder> for crate::output::StringPayloadOutput {
|
560 + | impl ::std::convert::From<Builder> for crate::output::QueryPrecedenceOutput {
|
587 561 | fn from(builder: Builder) -> Self {
|
588 562 | builder.build()
|
589 563 | }
|
590 564 | }
|
591 - | /// A builder for [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
565 + | /// A builder for [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
592 566 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
593 - | pub struct Builder {
|
594 - | pub(crate) payload: ::std::option::Option<::std::string::String>,
|
595 - | }
|
567 + | pub struct Builder {}
|
596 568 | impl Builder {
|
597 - | #[allow(missing_docs)] // documentation missing in model
|
598 - | pub fn payload(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
599 - | self.payload = input;
|
600 - | self
|
601 - | }
|
602 - | /// Consumes the builder and constructs a [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
603 - | pub fn build(self) -> crate::output::StringPayloadOutput {
|
569 + | /// Consumes the builder and constructs a [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
570 + | pub fn build(self) -> crate::output::QueryPrecedenceOutput {
|
604 571 | self.build_enforcing_all_constraints()
|
605 572 | }
|
606 - | fn build_enforcing_all_constraints(self) -> crate::output::StringPayloadOutput {
|
607 - | crate::output::StringPayloadOutput {
|
608 - | payload: self.payload,
|
609 - | }
|
573 + | fn build_enforcing_all_constraints(self) -> crate::output::QueryPrecedenceOutput {
|
574 + | crate::output::QueryPrecedenceOutput {}
|
610 575 | }
|
611 576 | }
|
612 577 | }
|