1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 + | /* StructureGenerator.kt:197 */
|
2 3 | #[allow(missing_docs)] // documentation missing in model
|
4 + | /* RustType.kt:516 */
|
3 5 | #[derive(
|
4 6 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
5 7 | )]
|
6 - | pub struct QueryPrecedenceOutput {}
|
8 + | pub /* StructureGenerator.kt:201 */ struct QueryPrecedenceOutput {/* StructureGenerator.kt:201 */}
|
9 + | /* ServerCodegenVisitor.kt:345 */
|
7 10 | impl QueryPrecedenceOutput {
|
8 - | /// Creates a new builder-style object to manufacture [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
11 + | /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
12 + | /* ServerBuilderGenerator.kt:295 */
|
9 13 | pub fn builder() -> crate::output::query_precedence_output::Builder {
|
14 + | /* ServerBuilderGenerator.kt:296 */
|
10 15 | crate::output::query_precedence_output::Builder::default()
|
16 + | /* ServerBuilderGenerator.kt:295 */
|
11 17 | }
|
18 + | /* ServerCodegenVisitor.kt:345 */
|
12 19 | }
|
13 20 |
|
21 + | /* StructureGenerator.kt:197 */
|
14 22 | #[allow(missing_docs)] // documentation missing in model
|
23 + | /* RustType.kt:516 */
|
15 24 | #[derive(
|
16 25 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
17 26 | )]
|
18 - | pub struct EmptyStructWithContentOnWireOpOutput {
|
27 + | pub /* StructureGenerator.kt:201 */ struct EmptyStructWithContentOnWireOpOutput {
|
28 + | /* StructureGenerator.kt:231 */
|
19 29 | #[allow(missing_docs)] // documentation missing in model
|
20 30 | pub empty: ::std::option::Option<crate::model::EmptyStruct>,
|
31 + | /* StructureGenerator.kt:201 */
|
21 32 | }
|
33 + | /* StructureGenerator.kt:135 */
|
22 34 | impl EmptyStructWithContentOnWireOpOutput {
|
35 + | /* StructureGenerator.kt:231 */
|
23 36 | #[allow(missing_docs)] // documentation missing in model
|
37 + | /* StructureGenerator.kt:166 */
|
24 38 | pub fn empty(&self) -> ::std::option::Option<&crate::model::EmptyStruct> {
|
39 + | /* StructureGenerator.kt:170 */
|
25 40 | self.empty.as_ref()
|
41 + | /* StructureGenerator.kt:166 */
|
26 42 | }
|
43 + | /* StructureGenerator.kt:135 */
|
27 44 | }
|
45 + | /* ServerCodegenVisitor.kt:345 */
|
28 46 | impl EmptyStructWithContentOnWireOpOutput {
|
29 - | /// Creates a new builder-style object to manufacture [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
47 + | /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
48 + | /* ServerBuilderGenerator.kt:295 */
|
30 49 | pub fn builder() -> crate::output::empty_struct_with_content_on_wire_op_output::Builder {
|
50 + | /* ServerBuilderGenerator.kt:296 */
|
31 51 | crate::output::empty_struct_with_content_on_wire_op_output::Builder::default()
|
52 + | /* ServerBuilderGenerator.kt:295 */
|
32 53 | }
|
54 + | /* ServerCodegenVisitor.kt:345 */
|
33 55 | }
|
34 56 |
|
57 + | /* StructureGenerator.kt:197 */
|
35 58 | #[allow(missing_docs)] // documentation missing in model
|
59 + | /* RustType.kt:516 */
|
36 60 | #[derive(
|
37 61 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
38 62 | )]
|
39 - | pub struct CaseInsensitiveErrorOperationOutput {}
|
63 + | pub /* StructureGenerator.kt:201 */ struct CaseInsensitiveErrorOperationOutput {/* StructureGenerator.kt:201 */}
|
64 + | /* ServerCodegenVisitor.kt:345 */
|
40 65 | impl CaseInsensitiveErrorOperationOutput {
|
41 - | /// Creates a new builder-style object to manufacture [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
66 + | /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
67 + | /* ServerBuilderGenerator.kt:295 */
|
42 68 | pub fn builder() -> crate::output::case_insensitive_error_operation_output::Builder {
|
69 + | /* ServerBuilderGenerator.kt:296 */
|
43 70 | crate::output::case_insensitive_error_operation_output::Builder::default()
|
71 + | /* ServerBuilderGenerator.kt:295 */
|
44 72 | }
|
73 + | /* ServerCodegenVisitor.kt:345 */
|
45 74 | }
|
46 75 |
|
76 + | /* StructureGenerator.kt:197 */
|
47 77 | #[allow(missing_docs)] // documentation missing in model
|
78 + | /* RustType.kt:516 */
|
48 79 | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
49 - | pub struct NullInNonSparseOutput {
|
80 + | pub /* StructureGenerator.kt:201 */ struct NullInNonSparseOutput {
|
81 + | /* StructureGenerator.kt:231 */
|
50 82 | #[allow(missing_docs)] // documentation missing in model
|
51 83 | pub list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
84 + | /* StructureGenerator.kt:231 */
|
52 85 | #[allow(missing_docs)] // documentation missing in model
|
53 86 | pub map: ::std::option::Option<
|
54 87 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
55 88 | >,
|
89 + | /* StructureGenerator.kt:231 */
|
56 90 | #[allow(missing_docs)] // documentation missing in model
|
57 91 | pub union: ::std::option::Option<crate::model::SingleElementUnion>,
|
92 + | /* StructureGenerator.kt:201 */
|
58 93 | }
|
94 + | /* StructureGenerator.kt:135 */
|
59 95 | impl NullInNonSparseOutput {
|
96 + | /* StructureGenerator.kt:231 */
|
60 97 | #[allow(missing_docs)] // documentation missing in model
|
98 + | /* StructureGenerator.kt:166 */
|
61 99 | pub fn list(&self) -> ::std::option::Option<&[::std::string::String]> {
|
100 + | /* StructureGenerator.kt:169 */
|
62 101 | self.list.as_deref()
|
102 + | /* StructureGenerator.kt:166 */
|
63 103 | }
|
104 + | /* StructureGenerator.kt:231 */
|
64 105 | #[allow(missing_docs)] // documentation missing in model
|
106 + | /* StructureGenerator.kt:166 */
|
65 107 | pub fn map(
|
66 108 | &self,
|
67 109 | ) -> ::std::option::Option<
|
68 110 | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
69 111 | > {
|
112 + | /* StructureGenerator.kt:170 */
|
70 113 | self.map.as_ref()
|
114 + | /* StructureGenerator.kt:166 */
|
71 115 | }
|
116 + | /* StructureGenerator.kt:231 */
|
72 117 | #[allow(missing_docs)] // documentation missing in model
|
118 + | /* StructureGenerator.kt:166 */
|
73 119 | pub fn union(&self) -> ::std::option::Option<&crate::model::SingleElementUnion> {
|
120 + | /* StructureGenerator.kt:170 */
|
74 121 | self.union.as_ref()
|
122 + | /* StructureGenerator.kt:166 */
|
75 123 | }
|
124 + | /* StructureGenerator.kt:135 */
|
76 125 | }
|
126 + | /* ServerCodegenVisitor.kt:345 */
|
77 127 | impl NullInNonSparseOutput {
|
78 - | /// Creates a new builder-style object to manufacture [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
128 + | /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
129 + | /* ServerBuilderGenerator.kt:295 */
|
79 130 | pub fn builder() -> crate::output::null_in_non_sparse_output::Builder {
|
131 + | /* ServerBuilderGenerator.kt:296 */
|
80 132 | crate::output::null_in_non_sparse_output::Builder::default()
|
133 + | /* ServerBuilderGenerator.kt:295 */
|
81 134 | }
|
135 + | /* ServerCodegenVisitor.kt:345 */
|
82 136 | }
|
83 137 |
|
138 + | /* StructureGenerator.kt:197 */
|
84 139 | #[allow(missing_docs)] // documentation missing in model
|
140 + | /* RustType.kt:516 */
|
85 141 | #[derive(
|
86 142 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
87 143 | )]
|
88 - | pub struct EscapedStringValuesOutput {
|
144 + | pub /* StructureGenerator.kt:201 */ struct EscapedStringValuesOutput {
|
145 + | /* StructureGenerator.kt:231 */
|
89 146 | #[allow(missing_docs)] // documentation missing in model
|
90 147 | pub r#enum: ::std::option::Option<crate::model::EnumWithEscapedChars>,
|
148 + | /* StructureGenerator.kt:231 */
|
91 149 | #[allow(missing_docs)] // documentation missing in model
|
92 150 | pub some_string: ::std::option::Option<::std::string::String>,
|
151 + | /* StructureGenerator.kt:201 */
|
93 152 | }
|
153 + | /* StructureGenerator.kt:135 */
|
94 154 | impl EscapedStringValuesOutput {
|
155 + | /* StructureGenerator.kt:231 */
|
95 156 | #[allow(missing_docs)] // documentation missing in model
|
157 + | /* StructureGenerator.kt:166 */
|
96 158 | pub fn r#enum(&self) -> ::std::option::Option<&crate::model::EnumWithEscapedChars> {
|
159 + | /* StructureGenerator.kt:170 */
|
97 160 | self.r#enum.as_ref()
|
161 + | /* StructureGenerator.kt:166 */
|
98 162 | }
|
163 + | /* StructureGenerator.kt:231 */
|
99 164 | #[allow(missing_docs)] // documentation missing in model
|
165 + | /* StructureGenerator.kt:166 */
|
100 166 | pub fn some_string(&self) -> ::std::option::Option<&str> {
|
167 + | /* StructureGenerator.kt:169 */
|
101 168 | self.some_string.as_deref()
|
169 + | /* StructureGenerator.kt:166 */
|
102 170 | }
|
171 + | /* StructureGenerator.kt:135 */
|
103 172 | }
|
173 + | /* ServerCodegenVisitor.kt:345 */
|
104 174 | impl EscapedStringValuesOutput {
|
105 - | /// Creates a new builder-style object to manufacture [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
175 + | /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
176 + | /* ServerBuilderGenerator.kt:295 */
|
106 177 | pub fn builder() -> crate::output::escaped_string_values_output::Builder {
|
178 + | /* ServerBuilderGenerator.kt:296 */
|
107 179 | crate::output::escaped_string_values_output::Builder::default()
|
180 + | /* ServerBuilderGenerator.kt:295 */
|
108 181 | }
|
182 + | /* ServerCodegenVisitor.kt:345 */
|
109 183 | }
|
110 184 |
|
185 + | /* StructureGenerator.kt:197 */
|
111 186 | #[allow(missing_docs)] // documentation missing in model
|
187 + | /* RustType.kt:516 */
|
112 188 | #[derive(
|
113 189 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
114 190 | )]
|
115 - | pub struct PrimitiveIntOpOutput {
|
191 + | pub /* StructureGenerator.kt:201 */ struct PrimitiveIntOpOutput {
|
192 + | /* StructureGenerator.kt:231 */
|
116 193 | #[allow(missing_docs)] // documentation missing in model
|
117 194 | pub value: i32,
|
195 + | /* StructureGenerator.kt:201 */
|
118 196 | }
|
197 + | /* StructureGenerator.kt:135 */
|
119 198 | impl PrimitiveIntOpOutput {
|
199 + | /* StructureGenerator.kt:231 */
|
120 200 | #[allow(missing_docs)] // documentation missing in model
|
201 + | /* StructureGenerator.kt:166 */
|
121 202 | pub fn value(&self) -> i32 {
|
203 + | /* StructureGenerator.kt:168 */
|
122 204 | self.value
|
205 + | /* StructureGenerator.kt:166 */
|
123 206 | }
|
207 + | /* StructureGenerator.kt:135 */
|
124 208 | }
|
209 + | /* ServerCodegenVisitor.kt:345 */
|
125 210 | impl PrimitiveIntOpOutput {
|
126 - | /// Creates a new builder-style object to manufacture [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
211 + | /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
212 + | /* ServerBuilderGenerator.kt:295 */
|
127 213 | pub fn builder() -> crate::output::primitive_int_op_output::Builder {
|
214 + | /* ServerBuilderGenerator.kt:296 */
|
128 215 | crate::output::primitive_int_op_output::Builder::default()
|
216 + | /* ServerBuilderGenerator.kt:295 */
|
129 217 | }
|
218 + | /* ServerCodegenVisitor.kt:345 */
|
130 219 | }
|
131 220 |
|
221 + | /* StructureGenerator.kt:197 */
|
132 222 | #[allow(missing_docs)] // documentation missing in model
|
223 + | /* RustType.kt:516 */
|
133 224 | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
134 - | pub struct MapWithEnumKeyOpOutput {
|
225 + | pub /* StructureGenerator.kt:201 */ struct MapWithEnumKeyOpOutput {
|
226 + | /* StructureGenerator.kt:231 */
|
135 227 | #[allow(missing_docs)] // documentation missing in model
|
136 228 | pub map: ::std::option::Option<
|
137 229 | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
138 230 | >,
|
231 + | /* StructureGenerator.kt:201 */
|
139 232 | }
|
233 + | /* StructureGenerator.kt:135 */
|
140 234 | impl MapWithEnumKeyOpOutput {
|
235 + | /* StructureGenerator.kt:231 */
|
141 236 | #[allow(missing_docs)] // documentation missing in model
|
237 + | /* StructureGenerator.kt:166 */
|
142 238 | pub fn map(
|
143 239 | &self,
|
144 240 | ) -> ::std::option::Option<
|
145 241 | &::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
146 242 | > {
|
243 + | /* StructureGenerator.kt:170 */
|
147 244 | self.map.as_ref()
|
245 + | /* StructureGenerator.kt:166 */
|
148 246 | }
|
247 + | /* StructureGenerator.kt:135 */
|
149 248 | }
|
249 + | /* ServerCodegenVisitor.kt:345 */
|
150 250 | impl MapWithEnumKeyOpOutput {
|
151 - | /// Creates a new builder-style object to manufacture [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
251 + | /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
252 + | /* ServerBuilderGenerator.kt:295 */
|
152 253 | pub fn builder() -> crate::output::map_with_enum_key_op_output::Builder {
|
254 + | /* ServerBuilderGenerator.kt:296 */
|
153 255 | crate::output::map_with_enum_key_op_output::Builder::default()
|
256 + | /* ServerBuilderGenerator.kt:295 */
|
154 257 | }
|
258 + | /* ServerCodegenVisitor.kt:345 */
|
155 259 | }
|
156 260 |
|
261 + | /* StructureGenerator.kt:197 */
|
157 262 | #[allow(missing_docs)] // documentation missing in model
|
263 + | /* RustType.kt:516 */
|
158 264 | #[derive(
|
159 265 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
160 266 | )]
|
161 - | pub struct StatusResponseOutput {
|
267 + | pub /* StructureGenerator.kt:201 */ struct StatusResponseOutput {
|
268 + | /* StructureGenerator.kt:231 */
|
162 269 | #[allow(missing_docs)] // documentation missing in model
|
163 270 | pub field: i32,
|
271 + | /* StructureGenerator.kt:201 */
|
164 272 | }
|
273 + | /* StructureGenerator.kt:135 */
|
165 274 | impl StatusResponseOutput {
|
275 + | /* StructureGenerator.kt:231 */
|
166 276 | #[allow(missing_docs)] // documentation missing in model
|
277 + | /* StructureGenerator.kt:166 */
|
167 278 | pub fn field(&self) -> i32 {
|
279 + | /* StructureGenerator.kt:168 */
|
168 280 | self.field
|
281 + | /* StructureGenerator.kt:166 */
|
169 282 | }
|
283 + | /* StructureGenerator.kt:135 */
|
170 284 | }
|
285 + | /* ServerCodegenVisitor.kt:345 */
|
171 286 | impl StatusResponseOutput {
|
172 - | /// Creates a new builder-style object to manufacture [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
287 + | /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
288 + | /* ServerBuilderGenerator.kt:295 */
|
173 289 | pub fn builder() -> crate::output::status_response_output::Builder {
|
290 + | /* ServerBuilderGenerator.kt:296 */
|
174 291 | crate::output::status_response_output::Builder::default()
|
292 + | /* ServerBuilderGenerator.kt:295 */
|
175 293 | }
|
294 + | /* ServerCodegenVisitor.kt:345 */
|
176 295 | }
|
177 296 |
|
297 + | /* StructureGenerator.kt:197 */
|
178 298 | #[allow(missing_docs)] // documentation missing in model
|
299 + | /* RustType.kt:516 */
|
179 300 | #[derive(
|
180 301 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
181 302 | )]
|
182 - | pub struct EnumQueryOutput {}
|
303 + | pub /* StructureGenerator.kt:201 */ struct EnumQueryOutput {/* StructureGenerator.kt:201 */}
|
304 + | /* ServerCodegenVisitor.kt:345 */
|
183 305 | impl EnumQueryOutput {
|
184 - | /// Creates a new builder-style object to manufacture [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
306 + | /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
307 + | /* ServerBuilderGenerator.kt:295 */
|
185 308 | pub fn builder() -> crate::output::enum_query_output::Builder {
|
309 + | /* ServerBuilderGenerator.kt:296 */
|
186 310 | crate::output::enum_query_output::Builder::default()
|
311 + | /* ServerBuilderGenerator.kt:295 */
|
187 312 | }
|
313 + | /* ServerCodegenVisitor.kt:345 */
|
188 314 | }
|
189 315 |
|
316 + | /* StructureGenerator.kt:197 */
|
190 317 | #[allow(missing_docs)] // documentation missing in model
|
318 + | /* RustType.kt:516 */
|
191 319 | #[derive(
|
192 320 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
193 321 | )]
|
194 - | pub struct PrimitiveIntHeaderOutput {
|
322 + | pub /* StructureGenerator.kt:201 */ struct PrimitiveIntHeaderOutput {
|
323 + | /* StructureGenerator.kt:231 */
|
195 324 | #[allow(missing_docs)] // documentation missing in model
|
196 325 | pub field: i32,
|
326 + | /* StructureGenerator.kt:201 */
|
197 327 | }
|
328 + | /* StructureGenerator.kt:135 */
|
198 329 | impl PrimitiveIntHeaderOutput {
|
330 + | /* StructureGenerator.kt:231 */
|
199 331 | #[allow(missing_docs)] // documentation missing in model
|
332 + | /* StructureGenerator.kt:166 */
|
200 333 | pub fn field(&self) -> i32 {
|
334 + | /* StructureGenerator.kt:168 */
|
201 335 | self.field
|
336 + | /* StructureGenerator.kt:166 */
|
202 337 | }
|
338 + | /* StructureGenerator.kt:135 */
|
203 339 | }
|
340 + | /* ServerCodegenVisitor.kt:345 */
|
204 341 | impl PrimitiveIntHeaderOutput {
|
205 - | /// Creates a new builder-style object to manufacture [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
342 + | /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
343 + | /* ServerBuilderGenerator.kt:295 */
|
206 344 | pub fn builder() -> crate::output::primitive_int_header_output::Builder {
|
345 + | /* ServerBuilderGenerator.kt:296 */
|
207 346 | crate::output::primitive_int_header_output::Builder::default()
|
347 + | /* ServerBuilderGenerator.kt:295 */
|
208 348 | }
|
349 + | /* ServerCodegenVisitor.kt:345 */
|
209 350 | }
|
210 351 |
|
352 + | /* StructureGenerator.kt:197 */
|
211 353 | #[allow(missing_docs)] // documentation missing in model
|
354 + | /* RustType.kt:516 */
|
212 355 | #[derive(
|
213 356 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
214 357 | )]
|
215 - | pub struct StringPayloadOutput {
|
358 + | pub /* StructureGenerator.kt:201 */ struct StringPayloadOutput {
|
359 + | /* StructureGenerator.kt:231 */
|
216 360 | #[allow(missing_docs)] // documentation missing in model
|
217 361 | pub payload: ::std::option::Option<::std::string::String>,
|
362 + | /* StructureGenerator.kt:201 */
|
218 363 | }
|
364 + | /* StructureGenerator.kt:135 */
|
219 365 | impl StringPayloadOutput {
|
366 + | /* StructureGenerator.kt:231 */
|
220 367 | #[allow(missing_docs)] // documentation missing in model
|
368 + | /* StructureGenerator.kt:166 */
|
221 369 | pub fn payload(&self) -> ::std::option::Option<&str> {
|
370 + | /* StructureGenerator.kt:169 */
|
222 371 | self.payload.as_deref()
|
372 + | /* StructureGenerator.kt:166 */
|
223 373 | }
|
374 + | /* StructureGenerator.kt:135 */
|
224 375 | }
|
376 + | /* ServerCodegenVisitor.kt:345 */
|
225 377 | impl StringPayloadOutput {
|
226 - | /// Creates a new builder-style object to manufacture [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
378 + | /// /* ServerBuilderGenerator.kt:294 */Creates a new builder-style object to manufacture [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
379 + | /* ServerBuilderGenerator.kt:295 */
|
227 380 | pub fn builder() -> crate::output::string_payload_output::Builder {
|
381 + | /* ServerBuilderGenerator.kt:296 */
|
228 382 | crate::output::string_payload_output::Builder::default()
|
383 + | /* ServerBuilderGenerator.kt:295 */
|
229 384 | }
|
385 + | /* ServerCodegenVisitor.kt:345 */
|
230 386 | }
|
231 - | /// See [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
387 + | /// /* ServerBuilderGenerator.kt:171 */See [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
232 388 | pub mod query_precedence_output {
|
233 389 |
|
390 + | /* ServerBuilderGenerator.kt:461 */
|
234 391 | impl ::std::convert::From<Builder> for crate::output::QueryPrecedenceOutput {
|
235 392 | fn from(builder: Builder) -> Self {
|
236 393 | builder.build()
|
237 394 | }
|
238 395 | }
|
239 - | /// A builder for [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
396 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
397 + | /* RustType.kt:516 */
|
240 398 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
241 - | pub struct Builder {}
|
399 + | /* ServerBuilderGenerator.kt:211 */
|
400 + | pub struct Builder {/* ServerBuilderGenerator.kt:211 */}
|
401 + | /* ServerBuilderGenerator.kt:215 */
|
242 402 | impl Builder {
|
243 - | /// Consumes the builder and constructs a [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
403 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
404 + | /* ServerBuilderGenerator.kt:271 */
|
244 405 | pub fn build(self) -> crate::output::QueryPrecedenceOutput {
|
245 406 | self.build_enforcing_all_constraints()
|
246 407 | }
|
408 + | /* ServerBuilderGenerator.kt:283 */
|
247 409 | fn build_enforcing_all_constraints(self) -> crate::output::QueryPrecedenceOutput {
|
248 - | crate::output::QueryPrecedenceOutput {}
|
410 + | /* ServerBuilderGenerator.kt:542 */
|
411 + | crate::output::QueryPrecedenceOutput {
|
412 + | /* ServerBuilderGenerator.kt:542 */}
|
413 + | /* ServerBuilderGenerator.kt:283 */
|
249 414 | }
|
415 + | /* ServerBuilderGenerator.kt:215 */
|
250 416 | }
|
417 + |
|
418 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
251 419 | }
|
252 - | /// See [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
420 + | /// /* ServerBuilderGenerator.kt:171 */See [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
253 421 | pub mod empty_struct_with_content_on_wire_op_output {
|
254 422 |
|
423 + | /* ServerBuilderGenerator.kt:461 */
|
255 424 | impl ::std::convert::From<Builder> for crate::output::EmptyStructWithContentOnWireOpOutput {
|
256 425 | fn from(builder: Builder) -> Self {
|
257 426 | builder.build()
|
258 427 | }
|
259 428 | }
|
260 - | /// A builder for [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
429 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
430 + | /* RustType.kt:516 */
|
261 431 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
432 + | /* ServerBuilderGenerator.kt:211 */
|
262 433 | pub struct Builder {
|
434 + | /* ServerBuilderGenerator.kt:308 */
|
263 435 | pub(crate) empty: ::std::option::Option<crate::model::EmptyStruct>,
|
436 + | /* ServerBuilderGenerator.kt:211 */
|
264 437 | }
|
438 + | /* ServerBuilderGenerator.kt:215 */
|
265 439 | impl Builder {
|
440 + | /* ServerBuilderGenerator.kt:331 */
|
266 441 | #[allow(missing_docs)] // documentation missing in model
|
442 + | /* ServerBuilderGenerator.kt:343 */
|
267 443 | pub fn empty(mut self, input: ::std::option::Option<crate::model::EmptyStruct>) -> Self {
|
268 - | self.empty = input;
|
444 + | /* ServerBuilderGenerator.kt:344 */
|
445 + | self.empty =
|
446 + | /* ServerBuilderGenerator.kt:376 */input
|
447 + | /* ServerBuilderGenerator.kt:344 */;
|
269 448 | self
|
449 + | /* ServerBuilderGenerator.kt:343 */
|
270 450 | }
|
271 - | /// Consumes the builder and constructs a [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
451 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
452 + | /* ServerBuilderGenerator.kt:271 */
|
272 453 | pub fn build(self) -> crate::output::EmptyStructWithContentOnWireOpOutput {
|
273 454 | self.build_enforcing_all_constraints()
|
274 455 | }
|
456 + | /* ServerBuilderGenerator.kt:283 */
|
275 457 | fn build_enforcing_all_constraints(
|
276 458 | self,
|
277 459 | ) -> crate::output::EmptyStructWithContentOnWireOpOutput {
|
278 - | crate::output::EmptyStructWithContentOnWireOpOutput { empty: self.empty }
|
460 + | /* ServerBuilderGenerator.kt:542 */
|
461 + | crate::output::EmptyStructWithContentOnWireOpOutput {
|
462 + | /* ServerBuilderGenerator.kt:546 */
|
463 + | empty: self.empty,
|
464 + | /* ServerBuilderGenerator.kt:542 */
|
465 + | }
|
466 + | /* ServerBuilderGenerator.kt:283 */
|
279 467 | }
|
468 + | /* ServerBuilderGenerator.kt:215 */
|
280 469 | }
|
470 + |
|
471 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
281 472 | }
|
282 - | /// See [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
473 + | /// /* ServerBuilderGenerator.kt:171 */See [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
283 474 | pub mod case_insensitive_error_operation_output {
|
284 475 |
|
476 + | /* ServerBuilderGenerator.kt:461 */
|
285 477 | impl ::std::convert::From<Builder> for crate::output::CaseInsensitiveErrorOperationOutput {
|
286 478 | fn from(builder: Builder) -> Self {
|
287 479 | builder.build()
|
288 480 | }
|
289 481 | }
|
290 - | /// A builder for [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
482 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
483 + | /* RustType.kt:516 */
|
291 484 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
292 - | pub struct Builder {}
|
485 + | /* ServerBuilderGenerator.kt:211 */
|
486 + | pub struct Builder {/* ServerBuilderGenerator.kt:211 */}
|
487 + | /* ServerBuilderGenerator.kt:215 */
|
293 488 | impl Builder {
|
294 - | /// Consumes the builder and constructs a [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
489 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
490 + | /* ServerBuilderGenerator.kt:271 */
|
295 491 | pub fn build(self) -> crate::output::CaseInsensitiveErrorOperationOutput {
|
296 492 | self.build_enforcing_all_constraints()
|
297 493 | }
|
494 + | /* ServerBuilderGenerator.kt:283 */
|
298 495 | fn build_enforcing_all_constraints(
|
299 496 | self,
|
300 497 | ) -> crate::output::CaseInsensitiveErrorOperationOutput {
|
301 - | crate::output::CaseInsensitiveErrorOperationOutput {}
|
498 + | /* ServerBuilderGenerator.kt:542 */
|
499 + | crate::output::CaseInsensitiveErrorOperationOutput {
|
500 + | /* ServerBuilderGenerator.kt:542 */}
|
501 + | /* ServerBuilderGenerator.kt:283 */
|
302 502 | }
|
503 + | /* ServerBuilderGenerator.kt:215 */
|
303 504 | }
|
505 + |
|
506 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
304 507 | }
|
305 - | /// See [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
508 + | /// /* ServerBuilderGenerator.kt:171 */See [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
306 509 | pub mod null_in_non_sparse_output {
|
307 510 |
|
511 + | /* ServerBuilderGenerator.kt:461 */
|
308 512 | impl ::std::convert::From<Builder> for crate::output::NullInNonSparseOutput {
|
309 513 | fn from(builder: Builder) -> Self {
|
310 514 | builder.build()
|
311 515 | }
|
312 516 | }
|
313 - | /// A builder for [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
517 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
518 + | /* RustType.kt:516 */
|
314 519 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
520 + | /* ServerBuilderGenerator.kt:211 */
|
315 521 | pub struct Builder {
|
522 + | /* ServerBuilderGenerator.kt:308 */
|
316 523 | pub(crate) list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
524 + | /* ServerBuilderGenerator.kt:308 */
|
317 525 | pub(crate) map: ::std::option::Option<
|
318 526 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
319 527 | >,
|
528 + | /* ServerBuilderGenerator.kt:308 */
|
320 529 | pub(crate) union: ::std::option::Option<crate::model::SingleElementUnion>,
|
530 + | /* ServerBuilderGenerator.kt:211 */
|
321 531 | }
|
532 + | /* ServerBuilderGenerator.kt:215 */
|
322 533 | impl Builder {
|
534 + | /* ServerBuilderGenerator.kt:331 */
|
323 535 | #[allow(missing_docs)] // documentation missing in model
|
536 + | /* ServerBuilderGenerator.kt:343 */
|
324 537 | pub fn list(
|
325 538 | mut self,
|
326 539 | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
327 540 | ) -> Self {
|
328 - | self.list = input;
|
541 + | /* ServerBuilderGenerator.kt:344 */
|
542 + | self.list =
|
543 + | /* ServerBuilderGenerator.kt:376 */input
|
544 + | /* ServerBuilderGenerator.kt:344 */;
|
329 545 | self
|
546 + | /* ServerBuilderGenerator.kt:343 */
|
330 547 | }
|
548 + | /* ServerBuilderGenerator.kt:331 */
|
331 549 | #[allow(missing_docs)] // documentation missing in model
|
550 + | /* ServerBuilderGenerator.kt:343 */
|
332 551 | pub fn map(
|
333 552 | mut self,
|
334 553 | input: ::std::option::Option<
|
335 554 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
336 555 | >,
|
337 556 | ) -> Self {
|
338 - | self.map = input;
|
557 + | /* ServerBuilderGenerator.kt:344 */
|
558 + | self.map =
|
559 + | /* ServerBuilderGenerator.kt:376 */input
|
560 + | /* ServerBuilderGenerator.kt:344 */;
|
339 561 | self
|
562 + | /* ServerBuilderGenerator.kt:343 */
|
340 563 | }
|
564 + | /* ServerBuilderGenerator.kt:331 */
|
341 565 | #[allow(missing_docs)] // documentation missing in model
|
566 + | /* ServerBuilderGenerator.kt:343 */
|
342 567 | pub fn union(
|
343 568 | mut self,
|
344 569 | input: ::std::option::Option<crate::model::SingleElementUnion>,
|
345 570 | ) -> Self {
|
346 - | self.union = input;
|
571 + | /* ServerBuilderGenerator.kt:344 */
|
572 + | self.union =
|
573 + | /* ServerBuilderGenerator.kt:376 */input
|
574 + | /* ServerBuilderGenerator.kt:344 */;
|
347 575 | self
|
576 + | /* ServerBuilderGenerator.kt:343 */
|
348 577 | }
|
349 - | /// Consumes the builder and constructs a [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
578 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
579 + | /* ServerBuilderGenerator.kt:271 */
|
350 580 | pub fn build(self) -> crate::output::NullInNonSparseOutput {
|
351 581 | self.build_enforcing_all_constraints()
|
352 582 | }
|
583 + | /* ServerBuilderGenerator.kt:283 */
|
353 584 | fn build_enforcing_all_constraints(self) -> crate::output::NullInNonSparseOutput {
|
585 + | /* ServerBuilderGenerator.kt:542 */
|
354 586 | crate::output::NullInNonSparseOutput {
|
587 + | /* ServerBuilderGenerator.kt:546 */
|
355 588 | list: self.list,
|
589 + | /* ServerBuilderGenerator.kt:546 */
|
356 590 | map: self.map,
|
591 + | /* ServerBuilderGenerator.kt:546 */
|
357 592 | union: self.union,
|
593 + | /* ServerBuilderGenerator.kt:542 */
|
358 594 | }
|
595 + | /* ServerBuilderGenerator.kt:283 */
|
359 596 | }
|
597 + | /* ServerBuilderGenerator.kt:215 */
|
360 598 | }
|
599 + |
|
600 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
361 601 | }
|
362 - | /// See [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
602 + | /// /* ServerBuilderGenerator.kt:171 */See [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
363 603 | pub mod escaped_string_values_output {
|
364 604 |
|
605 + | /* ServerBuilderGenerator.kt:461 */
|
365 606 | impl ::std::convert::From<Builder> for crate::output::EscapedStringValuesOutput {
|
366 607 | fn from(builder: Builder) -> Self {
|
367 608 | builder.build()
|
368 609 | }
|
369 610 | }
|
370 - | /// A builder for [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
611 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
612 + | /* RustType.kt:516 */
|
371 613 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
614 + | /* ServerBuilderGenerator.kt:211 */
|
372 615 | pub struct Builder {
|
616 + | /* ServerBuilderGenerator.kt:308 */
|
373 617 | pub(crate) r#enum: ::std::option::Option<crate::model::EnumWithEscapedChars>,
|
618 + | /* ServerBuilderGenerator.kt:308 */
|
374 619 | pub(crate) some_string: ::std::option::Option<::std::string::String>,
|
620 + | /* ServerBuilderGenerator.kt:211 */
|
375 621 | }
|
622 + | /* ServerBuilderGenerator.kt:215 */
|
376 623 | impl Builder {
|
624 + | /* ServerBuilderGenerator.kt:331 */
|
377 625 | #[allow(missing_docs)] // documentation missing in model
|
626 + | /* ServerBuilderGenerator.kt:343 */
|
378 627 | pub fn r#enum(
|
379 628 | mut self,
|
380 629 | input: ::std::option::Option<crate::model::EnumWithEscapedChars>,
|
381 630 | ) -> Self {
|
382 - | self.r#enum = input;
|
631 + | /* ServerBuilderGenerator.kt:344 */
|
632 + | self.r#enum =
|
633 + | /* ServerBuilderGenerator.kt:376 */input
|
634 + | /* ServerBuilderGenerator.kt:344 */;
|
383 635 | self
|
636 + | /* ServerBuilderGenerator.kt:343 */
|
384 637 | }
|
638 + | /* ServerBuilderGenerator.kt:331 */
|
385 639 | #[allow(missing_docs)] // documentation missing in model
|
640 + | /* ServerBuilderGenerator.kt:343 */
|
386 641 | pub fn some_string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
387 - | self.some_string = input;
|
642 + | /* ServerBuilderGenerator.kt:344 */
|
643 + | self.some_string =
|
644 + | /* ServerBuilderGenerator.kt:376 */input
|
645 + | /* ServerBuilderGenerator.kt:344 */;
|
388 646 | self
|
647 + | /* ServerBuilderGenerator.kt:343 */
|
389 648 | }
|
390 - | /// Consumes the builder and constructs a [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
649 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
650 + | /* ServerBuilderGenerator.kt:271 */
|
391 651 | pub fn build(self) -> crate::output::EscapedStringValuesOutput {
|
392 652 | self.build_enforcing_all_constraints()
|
393 653 | }
|
654 + | /* ServerBuilderGenerator.kt:283 */
|
394 655 | fn build_enforcing_all_constraints(self) -> crate::output::EscapedStringValuesOutput {
|
656 + | /* ServerBuilderGenerator.kt:542 */
|
395 657 | crate::output::EscapedStringValuesOutput {
|
658 + | /* ServerBuilderGenerator.kt:546 */
|
396 659 | r#enum: self.r#enum,
|
660 + | /* ServerBuilderGenerator.kt:546 */
|
397 661 | some_string: self.some_string,
|
662 + | /* ServerBuilderGenerator.kt:542 */
|
398 663 | }
|
664 + | /* ServerBuilderGenerator.kt:283 */
|
399 665 | }
|
666 + | /* ServerBuilderGenerator.kt:215 */
|
400 667 | }
|
668 + |
|
669 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
401 670 | }
|
402 - | /// See [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
671 + | /// /* ServerBuilderGenerator.kt:171 */See [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
403 672 | pub mod primitive_int_op_output {
|
404 673 |
|
674 + | /* ServerBuilderGenerator.kt:461 */
|
405 675 | impl ::std::convert::From<Builder> for crate::output::PrimitiveIntOpOutput {
|
406 676 | fn from(builder: Builder) -> Self {
|
407 677 | builder.build()
|
408 678 | }
|
409 679 | }
|
410 - | /// A builder for [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
680 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
681 + | /* RustType.kt:516 */
|
411 682 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
683 + | /* ServerBuilderGenerator.kt:211 */
|
412 684 | pub struct Builder {
|
685 + | /* ServerBuilderGenerator.kt:308 */
|
413 686 | pub(crate) value: ::std::option::Option<i32>,
|
687 + | /* ServerBuilderGenerator.kt:211 */
|
414 688 | }
|
689 + | /* ServerBuilderGenerator.kt:215 */
|
415 690 | impl Builder {
|
691 + | /* ServerBuilderGenerator.kt:331 */
|
416 692 | #[allow(missing_docs)] // documentation missing in model
|
693 + | /* ServerBuilderGenerator.kt:343 */
|
417 694 | pub fn value(mut self, input: i32) -> Self {
|
418 - | self.value = Some(input);
|
695 + | /* ServerBuilderGenerator.kt:344 */
|
696 + | self.value =
|
697 + | /* ServerBuilderGenerator.kt:345 */Some(
|
698 + | /* ServerBuilderGenerator.kt:376 */input
|
699 + | /* ServerBuilderGenerator.kt:345 */)
|
700 + | /* ServerBuilderGenerator.kt:344 */;
|
419 701 | self
|
702 + | /* ServerBuilderGenerator.kt:343 */
|
420 703 | }
|
421 - | /// Consumes the builder and constructs a [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
704 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
705 + | /* ServerBuilderGenerator.kt:271 */
|
422 706 | pub fn build(self) -> crate::output::PrimitiveIntOpOutput {
|
423 707 | self.build_enforcing_all_constraints()
|
424 708 | }
|
709 + | /* ServerBuilderGenerator.kt:283 */
|
425 710 | fn build_enforcing_all_constraints(self) -> crate::output::PrimitiveIntOpOutput {
|
711 + | /* ServerBuilderGenerator.kt:542 */
|
426 712 | crate::output::PrimitiveIntOpOutput {
|
427 - | value: self.value.unwrap_or(0i32),
|
713 + | /* ServerBuilderGenerator.kt:546 */
|
714 + | value: self
|
715 + | .value
|
716 + | /* ServerBuilderGeneratorCommon.kt:135 */
|
717 + | .unwrap_or(0i32),
|
718 + | /* ServerBuilderGenerator.kt:542 */
|
428 719 | }
|
720 + | /* ServerBuilderGenerator.kt:283 */
|
429 721 | }
|
722 + | /* ServerBuilderGenerator.kt:215 */
|
430 723 | }
|
724 + |
|
725 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
431 726 | }
|
432 - | /// See [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
727 + | /// /* ServerBuilderGenerator.kt:171 */See [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
433 728 | pub mod map_with_enum_key_op_output {
|
434 729 |
|
730 + | /* ServerBuilderGenerator.kt:461 */
|
435 731 | impl ::std::convert::From<Builder> for crate::output::MapWithEnumKeyOpOutput {
|
436 732 | fn from(builder: Builder) -> Self {
|
437 733 | builder.build()
|
438 734 | }
|
439 735 | }
|
440 - | /// A builder for [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
736 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
737 + | /* RustType.kt:516 */
|
441 738 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
739 + | /* ServerBuilderGenerator.kt:211 */
|
442 740 | pub struct Builder {
|
741 + | /* ServerBuilderGenerator.kt:308 */
|
443 742 | pub(crate) map: ::std::option::Option<
|
444 743 | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
445 744 | >,
|
745 + | /* ServerBuilderGenerator.kt:211 */
|
446 746 | }
|
747 + | /* ServerBuilderGenerator.kt:215 */
|
447 748 | impl Builder {
|
749 + | /* ServerBuilderGenerator.kt:331 */
|
448 750 | #[allow(missing_docs)] // documentation missing in model
|
751 + | /* ServerBuilderGenerator.kt:343 */
|
449 752 | pub fn map(
|
450 753 | mut self,
|
451 754 | input: ::std::option::Option<
|
452 755 | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
453 756 | >,
|
454 757 | ) -> Self {
|
455 - | self.map = input;
|
758 + | /* ServerBuilderGenerator.kt:344 */
|
759 + | self.map =
|
760 + | /* ServerBuilderGenerator.kt:376 */input
|
761 + | /* ServerBuilderGenerator.kt:344 */;
|
456 762 | self
|
763 + | /* ServerBuilderGenerator.kt:343 */
|
457 764 | }
|
458 - | /// Consumes the builder and constructs a [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
765 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
766 + | /* ServerBuilderGenerator.kt:271 */
|
459 767 | pub fn build(self) -> crate::output::MapWithEnumKeyOpOutput {
|
460 768 | self.build_enforcing_all_constraints()
|
461 769 | }
|
770 + | /* ServerBuilderGenerator.kt:283 */
|
462 771 | fn build_enforcing_all_constraints(self) -> crate::output::MapWithEnumKeyOpOutput {
|
463 - | crate::output::MapWithEnumKeyOpOutput { map: self.map }
|
772 + | /* ServerBuilderGenerator.kt:542 */
|
773 + | crate::output::MapWithEnumKeyOpOutput {
|
774 + | /* ServerBuilderGenerator.kt:546 */
|
775 + | map: self.map,
|
776 + | /* ServerBuilderGenerator.kt:542 */
|
777 + | }
|
778 + | /* ServerBuilderGenerator.kt:283 */
|
464 779 | }
|
780 + | /* ServerBuilderGenerator.kt:215 */
|
465 781 | }
|
782 + |
|
783 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
466 784 | }
|
467 - | /// See [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
785 + | /// /* ServerBuilderGenerator.kt:171 */See [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
468 786 | pub mod status_response_output {
|
469 787 |
|
788 + | /* ServerBuilderGenerator.kt:461 */
|
470 789 | impl ::std::convert::From<Builder> for crate::output::StatusResponseOutput {
|
471 790 | fn from(builder: Builder) -> Self {
|
472 791 | builder.build()
|
473 792 | }
|
474 793 | }
|
475 - | /// A builder for [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
794 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
795 + | /* RustType.kt:516 */
|
476 796 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
797 + | /* ServerBuilderGenerator.kt:211 */
|
477 798 | pub struct Builder {
|
799 + | /* ServerBuilderGenerator.kt:308 */
|
478 800 | pub(crate) field: ::std::option::Option<i32>,
|
801 + | /* ServerBuilderGenerator.kt:211 */
|
479 802 | }
|
803 + | /* ServerBuilderGenerator.kt:215 */
|
480 804 | impl Builder {
|
805 + | /* ServerBuilderGenerator.kt:331 */
|
481 806 | #[allow(missing_docs)] // documentation missing in model
|
807 + | /* ServerBuilderGenerator.kt:343 */
|
482 808 | pub fn field(mut self, input: i32) -> Self {
|
483 - | self.field = Some(input);
|
809 + | /* ServerBuilderGenerator.kt:344 */
|
810 + | self.field =
|
811 + | /* ServerBuilderGenerator.kt:345 */Some(
|
812 + | /* ServerBuilderGenerator.kt:376 */input
|
813 + | /* ServerBuilderGenerator.kt:345 */)
|
814 + | /* ServerBuilderGenerator.kt:344 */;
|
484 815 | self
|
816 + | /* ServerBuilderGenerator.kt:343 */
|
485 817 | }
|
486 - | /// Consumes the builder and constructs a [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
818 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
819 + | /* ServerBuilderGenerator.kt:271 */
|
487 820 | pub fn build(self) -> crate::output::StatusResponseOutput {
|
488 821 | self.build_enforcing_all_constraints()
|
489 822 | }
|
823 + | /* ServerBuilderGenerator.kt:283 */
|
490 824 | fn build_enforcing_all_constraints(self) -> crate::output::StatusResponseOutput {
|
825 + | /* ServerBuilderGenerator.kt:542 */
|
491 826 | crate::output::StatusResponseOutput {
|
492 - | field: self.field.unwrap_or(0i32),
|
827 + | /* ServerBuilderGenerator.kt:546 */
|
828 + | field: self
|
829 + | .field
|
830 + | /* ServerBuilderGeneratorCommon.kt:135 */
|
831 + | .unwrap_or(0i32),
|
832 + | /* ServerBuilderGenerator.kt:542 */
|
493 833 | }
|
834 + | /* ServerBuilderGenerator.kt:283 */
|
494 835 | }
|
836 + | /* ServerBuilderGenerator.kt:215 */
|
495 837 | }
|
838 + |
|
839 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
496 840 | }
|
497 - | /// See [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
841 + | /// /* ServerBuilderGenerator.kt:171 */See [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
498 842 | pub mod enum_query_output {
|
499 843 |
|
844 + | /* ServerBuilderGenerator.kt:461 */
|
500 845 | impl ::std::convert::From<Builder> for crate::output::EnumQueryOutput {
|
501 846 | fn from(builder: Builder) -> Self {
|
502 847 | builder.build()
|
503 848 | }
|
504 849 | }
|
505 - | /// A builder for [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
850 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
851 + | /* RustType.kt:516 */
|
506 852 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
507 - | pub struct Builder {}
|
853 + | /* ServerBuilderGenerator.kt:211 */
|
854 + | pub struct Builder {/* ServerBuilderGenerator.kt:211 */}
|
855 + | /* ServerBuilderGenerator.kt:215 */
|
508 856 | impl Builder {
|
509 - | /// Consumes the builder and constructs a [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
857 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
858 + | /* ServerBuilderGenerator.kt:271 */
|
510 859 | pub fn build(self) -> crate::output::EnumQueryOutput {
|
511 860 | self.build_enforcing_all_constraints()
|
512 861 | }
|
862 + | /* ServerBuilderGenerator.kt:283 */
|
513 863 | fn build_enforcing_all_constraints(self) -> crate::output::EnumQueryOutput {
|
514 - | crate::output::EnumQueryOutput {}
|
864 + | /* ServerBuilderGenerator.kt:542 */
|
865 + | crate::output::EnumQueryOutput {
|
866 + | /* ServerBuilderGenerator.kt:542 */}
|
867 + | /* ServerBuilderGenerator.kt:283 */
|
515 868 | }
|
869 + | /* ServerBuilderGenerator.kt:215 */
|
516 870 | }
|
871 + |
|
872 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
517 873 | }
|
518 - | /// See [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
874 + | /// /* ServerBuilderGenerator.kt:171 */See [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
519 875 | pub mod primitive_int_header_output {
|
520 876 |
|
877 + | /* ServerBuilderGenerator.kt:461 */
|
521 878 | impl ::std::convert::From<Builder> for crate::output::PrimitiveIntHeaderOutput {
|
522 879 | fn from(builder: Builder) -> Self {
|
523 880 | builder.build()
|
524 881 | }
|
525 882 | }
|
526 - | /// A builder for [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
883 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
884 + | /* RustType.kt:516 */
|
527 885 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
886 + | /* ServerBuilderGenerator.kt:211 */
|
528 887 | pub struct Builder {
|
888 + | /* ServerBuilderGenerator.kt:308 */
|
529 889 | pub(crate) field: ::std::option::Option<i32>,
|
890 + | /* ServerBuilderGenerator.kt:211 */
|
530 891 | }
|
892 + | /* ServerBuilderGenerator.kt:215 */
|
531 893 | impl Builder {
|
894 + | /* ServerBuilderGenerator.kt:331 */
|
532 895 | #[allow(missing_docs)] // documentation missing in model
|
896 + | /* ServerBuilderGenerator.kt:343 */
|
533 897 | pub fn field(mut self, input: i32) -> Self {
|
534 - | self.field = Some(input);
|
898 + | /* ServerBuilderGenerator.kt:344 */
|
899 + | self.field =
|
900 + | /* ServerBuilderGenerator.kt:345 */Some(
|
901 + | /* ServerBuilderGenerator.kt:376 */input
|
902 + | /* ServerBuilderGenerator.kt:345 */)
|
903 + | /* ServerBuilderGenerator.kt:344 */;
|
535 904 | self
|
905 + | /* ServerBuilderGenerator.kt:343 */
|
536 906 | }
|
537 - | /// Consumes the builder and constructs a [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
907 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
908 + | /* ServerBuilderGenerator.kt:271 */
|
538 909 | pub fn build(self) -> crate::output::PrimitiveIntHeaderOutput {
|
539 910 | self.build_enforcing_all_constraints()
|
540 911 | }
|
912 + | /* ServerBuilderGenerator.kt:283 */
|
541 913 | fn build_enforcing_all_constraints(self) -> crate::output::PrimitiveIntHeaderOutput {
|
914 + | /* ServerBuilderGenerator.kt:542 */
|
542 915 | crate::output::PrimitiveIntHeaderOutput {
|
543 - | field: self.field.unwrap_or(0i32),
|
916 + | /* ServerBuilderGenerator.kt:546 */
|
917 + | field: self
|
918 + | .field
|
919 + | /* ServerBuilderGeneratorCommon.kt:135 */
|
920 + | .unwrap_or(0i32),
|
921 + | /* ServerBuilderGenerator.kt:542 */
|
544 922 | }
|
923 + | /* ServerBuilderGenerator.kt:283 */
|
545 924 | }
|
925 + | /* ServerBuilderGenerator.kt:215 */
|
546 926 | }
|
927 + |
|
928 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
547 929 | }
|
548 - | /// See [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
930 + | /// /* ServerBuilderGenerator.kt:171 */See [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
549 931 | pub mod string_payload_output {
|
550 932 |
|
933 + | /* ServerBuilderGenerator.kt:461 */
|
551 934 | impl ::std::convert::From<Builder> for crate::output::StringPayloadOutput {
|
552 935 | fn from(builder: Builder) -> Self {
|
553 936 | builder.build()
|
554 937 | }
|
555 938 | }
|
556 - | /// A builder for [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
939 + | /// /* ServerBuilderGenerator.kt:201 */A builder for [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
940 + | /* RustType.kt:516 */
|
557 941 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
942 + | /* ServerBuilderGenerator.kt:211 */
|
558 943 | pub struct Builder {
|
944 + | /* ServerBuilderGenerator.kt:308 */
|
559 945 | pub(crate) payload: ::std::option::Option<::std::string::String>,
|
946 + | /* ServerBuilderGenerator.kt:211 */
|
560 947 | }
|
948 + | /* ServerBuilderGenerator.kt:215 */
|
561 949 | impl Builder {
|
950 + | /* ServerBuilderGenerator.kt:331 */
|
562 951 | #[allow(missing_docs)] // documentation missing in model
|
952 + | /* ServerBuilderGenerator.kt:343 */
|
563 953 | pub fn payload(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
564 - | self.payload = input;
|
954 + | /* ServerBuilderGenerator.kt:344 */
|
955 + | self.payload =
|
956 + | /* ServerBuilderGenerator.kt:376 */input
|
957 + | /* ServerBuilderGenerator.kt:344 */;
|
565 958 | self
|
959 + | /* ServerBuilderGenerator.kt:343 */
|
566 960 | }
|
567 - | /// Consumes the builder and constructs a [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
961 + | /// /* ServerBuilderGenerator.kt:258 */Consumes the builder and constructs a [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
962 + | /* ServerBuilderGenerator.kt:271 */
|
568 963 | pub fn build(self) -> crate::output::StringPayloadOutput {
|
569 964 | self.build_enforcing_all_constraints()
|
570 965 | }
|
966 + | /* ServerBuilderGenerator.kt:283 */
|
571 967 | fn build_enforcing_all_constraints(self) -> crate::output::StringPayloadOutput {
|
968 + | /* ServerBuilderGenerator.kt:542 */
|
572 969 | crate::output::StringPayloadOutput {
|
970 + | /* ServerBuilderGenerator.kt:546 */
|
573 971 | payload: self.payload,
|
972 + | /* ServerBuilderGenerator.kt:542 */
|
574 973 | }
|
974 + | /* ServerBuilderGenerator.kt:283 */
|
575 975 | }
|
976 + | /* ServerBuilderGenerator.kt:215 */
|
576 977 | }
|
978 + |
|
979 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
577 980 | }
|