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