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 QueryPrecedenceOutput {}
|
12 + | pub /* StructureGenerator.kt:201 */ struct QueryPrecedenceOutput {/* 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 QueryPrecedenceOutput {
|
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> for std::boxed::Box<QueryPrecedenceOutput> {
|
25 34 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
26 35 | ob.extract::<QueryPrecedenceOutput>().map(Box::new)
|
27 36 | }
|
28 37 | }
|
29 38 |
|
30 39 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<QueryPrecedenceOutput> {
|
31 40 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
32 41 | (*self).into_py(py)
|
33 42 | }
|
34 43 | }
|
44 + | /* ServerCodegenVisitor.kt:370 */
|
35 45 | impl QueryPrecedenceOutput {
|
36 - | /// Creates a new builder-style object to manufacture [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
46 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
47 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
37 48 | pub fn builder() -> crate::output::query_precedence_output::Builder {
|
49 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
38 50 | crate::output::query_precedence_output::Builder::default()
|
51 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
39 52 | }
|
53 + | /* ServerCodegenVisitor.kt:370 */
|
40 54 | }
|
41 55 |
|
56 + | /* RustType.kt:516 */
|
42 57 | #[::pyo3::pyclass]
|
58 + | /* PythonServerStructureGenerator.kt:63 */
|
43 59 | /// :param empty typing.Optional\[rest_json_extras.model.EmptyStruct\]:
|
44 60 | /// :rtype None:
|
61 + | /* StructureGenerator.kt:197 */
|
45 62 | #[allow(missing_docs)] // documentation missing in model
|
63 + | /* RustType.kt:516 */
|
46 64 | #[derive(
|
47 65 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
48 66 | )]
|
49 - | pub struct EmptyStructWithContentOnWireOpOutput {
|
67 + | pub /* StructureGenerator.kt:201 */ struct EmptyStructWithContentOnWireOpOutput {
|
68 + | /* RustType.kt:516 */
|
50 69 | #[pyo3(get, set)]
|
70 + | /* PythonServerStructureGenerator.kt:80 */
|
51 71 | /// :type typing.Optional\[rest_json_extras.model.EmptyStruct\]:
|
72 + | /* StructureGenerator.kt:231 */
|
52 73 | #[allow(missing_docs)] // documentation missing in model
|
53 74 | pub empty: ::std::option::Option<crate::model::EmptyStruct>,
|
75 + | /* StructureGenerator.kt:201 */
|
54 76 | }
|
77 + | /* StructureGenerator.kt:135 */
|
55 78 | impl EmptyStructWithContentOnWireOpOutput {
|
79 + | /* StructureGenerator.kt:231 */
|
56 80 | #[allow(missing_docs)] // documentation missing in model
|
81 + | /* StructureGenerator.kt:166 */
|
57 82 | pub fn empty(&self) -> ::std::option::Option<&crate::model::EmptyStruct> {
|
83 + | /* StructureGenerator.kt:170 */
|
58 84 | self.empty.as_ref()
|
85 + | /* StructureGenerator.kt:166 */
|
59 86 | }
|
87 + | /* StructureGenerator.kt:135 */
|
60 88 | }
|
89 + | /* RustType.kt:516 */
|
61 90 | #[allow(clippy::new_without_default)]
|
91 + | /* RustType.kt:516 */
|
62 92 | #[allow(clippy::too_many_arguments)]
|
93 + | /* RustType.kt:516 */
|
63 94 | #[::pyo3::pymethods]
|
95 + | /* PythonServerStructureGenerator.kt:88 */
|
64 96 | impl EmptyStructWithContentOnWireOpOutput {
|
65 97 | #[new]
|
66 98 | pub fn new(empty: ::std::option::Option<crate::model::EmptyStruct>) -> Self {
|
67 99 | Self { empty }
|
68 100 | }
|
69 101 | fn __repr__(&self) -> String {
|
70 102 | format!("{self:?}")
|
71 103 | }
|
72 104 | fn __str__(&self) -> String {
|
73 105 | format!("{self:?}")
|
74 106 | }
|
75 107 | }
|
108 + | /* PythonServerStructureGenerator.kt:111 */
|
76 109 | impl<'source> ::pyo3::FromPyObject<'source>
|
77 110 | for std::boxed::Box<EmptyStructWithContentOnWireOpOutput>
|
78 111 | {
|
79 112 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
80 113 | ob.extract::<EmptyStructWithContentOnWireOpOutput>()
|
81 114 | .map(Box::new)
|
82 115 | }
|
83 116 | }
|
84 117 |
|
85 118 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EmptyStructWithContentOnWireOpOutput> {
|
86 119 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
87 120 | (*self).into_py(py)
|
88 121 | }
|
89 122 | }
|
123 + | /* ServerCodegenVisitor.kt:370 */
|
90 124 | impl EmptyStructWithContentOnWireOpOutput {
|
91 - | /// Creates a new builder-style object to manufacture [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
125 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
126 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
92 127 | pub fn builder() -> crate::output::empty_struct_with_content_on_wire_op_output::Builder {
|
128 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
93 129 | crate::output::empty_struct_with_content_on_wire_op_output::Builder::default()
|
130 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
94 131 | }
|
132 + | /* ServerCodegenVisitor.kt:370 */
|
95 133 | }
|
96 134 |
|
135 + | /* RustType.kt:516 */
|
97 136 | #[::pyo3::pyclass]
|
137 + | /* PythonServerStructureGenerator.kt:63 */
|
98 138 | /// :rtype None:
|
139 + | /* StructureGenerator.kt:197 */
|
99 140 | #[allow(missing_docs)] // documentation missing in model
|
141 + | /* RustType.kt:516 */
|
100 142 | #[derive(
|
101 143 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
102 144 | )]
|
103 - | pub struct CaseInsensitiveErrorOperationOutput {}
|
145 + | pub /* StructureGenerator.kt:201 */ struct CaseInsensitiveErrorOperationOutput {/* StructureGenerator.kt:201 */}
|
146 + | /* RustType.kt:516 */
|
104 147 | #[allow(clippy::new_without_default)]
|
148 + | /* RustType.kt:516 */
|
105 149 | #[allow(clippy::too_many_arguments)]
|
150 + | /* RustType.kt:516 */
|
106 151 | #[::pyo3::pymethods]
|
152 + | /* PythonServerStructureGenerator.kt:88 */
|
107 153 | impl CaseInsensitiveErrorOperationOutput {
|
108 154 | #[new]
|
109 155 | pub fn new() -> Self {
|
110 156 | Self {}
|
111 157 | }
|
112 158 | fn __repr__(&self) -> String {
|
113 159 | format!("{self:?}")
|
114 160 | }
|
115 161 | fn __str__(&self) -> String {
|
116 162 | format!("{self:?}")
|
117 163 | }
|
118 164 | }
|
165 + | /* PythonServerStructureGenerator.kt:111 */
|
119 166 | impl<'source> ::pyo3::FromPyObject<'source>
|
120 167 | for std::boxed::Box<CaseInsensitiveErrorOperationOutput>
|
121 168 | {
|
122 169 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
123 170 | ob.extract::<CaseInsensitiveErrorOperationOutput>()
|
124 171 | .map(Box::new)
|
125 172 | }
|
126 173 | }
|
127 174 |
|
128 175 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<CaseInsensitiveErrorOperationOutput> {
|
129 176 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
130 177 | (*self).into_py(py)
|
131 178 | }
|
132 179 | }
|
180 + | /* ServerCodegenVisitor.kt:370 */
|
133 181 | impl CaseInsensitiveErrorOperationOutput {
|
134 - | /// Creates a new builder-style object to manufacture [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
182 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
183 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
135 184 | pub fn builder() -> crate::output::case_insensitive_error_operation_output::Builder {
|
185 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
136 186 | crate::output::case_insensitive_error_operation_output::Builder::default()
|
187 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
137 188 | }
|
189 + | /* ServerCodegenVisitor.kt:370 */
|
138 190 | }
|
139 191 |
|
192 + | /* RustType.kt:516 */
|
140 193 | #[::pyo3::pyclass]
|
194 + | /* PythonServerStructureGenerator.kt:63 */
|
141 195 | /// :param list typing.Optional\[typing.List\[str\]\]:
|
142 196 | /// :param map typing.Optional\[typing.Dict\[str, str\]\]:
|
143 197 | /// :param union typing.Optional\[rest_json_extras.model.SingleElementUnion\]:
|
144 198 | /// :rtype None:
|
199 + | /* StructureGenerator.kt:197 */
|
145 200 | #[allow(missing_docs)] // documentation missing in model
|
201 + | /* RustType.kt:516 */
|
146 202 | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
147 - | pub struct NullInNonSparseOutput {
|
203 + | pub /* StructureGenerator.kt:201 */ struct NullInNonSparseOutput {
|
204 + | /* RustType.kt:516 */
|
148 205 | #[pyo3(get, set)]
|
206 + | /* PythonServerStructureGenerator.kt:80 */
|
149 207 | /// :type typing.Optional\[typing.List\[str\]\]:
|
208 + | /* StructureGenerator.kt:231 */
|
150 209 | #[allow(missing_docs)] // documentation missing in model
|
151 210 | pub list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
211 + | /* RustType.kt:516 */
|
152 212 | #[pyo3(get, set)]
|
213 + | /* PythonServerStructureGenerator.kt:80 */
|
153 214 | /// :type typing.Optional\[typing.Dict\[str, str\]\]:
|
215 + | /* StructureGenerator.kt:231 */
|
154 216 | #[allow(missing_docs)] // documentation missing in model
|
155 217 | pub map: ::std::option::Option<
|
156 218 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
157 219 | >,
|
220 + | /* RustType.kt:516 */
|
158 221 | #[pyo3(get, set)]
|
222 + | /* PythonServerStructureGenerator.kt:80 */
|
159 223 | /// :type typing.Optional\[rest_json_extras.model.SingleElementUnion\]:
|
224 + | /* StructureGenerator.kt:231 */
|
160 225 | #[allow(missing_docs)] // documentation missing in model
|
161 226 | pub union: ::std::option::Option<crate::model::SingleElementUnion>,
|
227 + | /* StructureGenerator.kt:201 */
|
162 228 | }
|
229 + | /* StructureGenerator.kt:135 */
|
163 230 | impl NullInNonSparseOutput {
|
231 + | /* StructureGenerator.kt:231 */
|
164 232 | #[allow(missing_docs)] // documentation missing in model
|
233 + | /* StructureGenerator.kt:166 */
|
165 234 | pub fn list(&self) -> ::std::option::Option<&[::std::string::String]> {
|
235 + | /* StructureGenerator.kt:169 */
|
166 236 | self.list.as_deref()
|
237 + | /* StructureGenerator.kt:166 */
|
167 238 | }
|
239 + | /* StructureGenerator.kt:231 */
|
168 240 | #[allow(missing_docs)] // documentation missing in model
|
241 + | /* StructureGenerator.kt:166 */
|
169 242 | pub fn map(
|
170 243 | &self,
|
171 244 | ) -> ::std::option::Option<
|
172 245 | &::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
173 246 | > {
|
247 + | /* StructureGenerator.kt:170 */
|
174 248 | self.map.as_ref()
|
249 + | /* StructureGenerator.kt:166 */
|
175 250 | }
|
251 + | /* StructureGenerator.kt:231 */
|
176 252 | #[allow(missing_docs)] // documentation missing in model
|
253 + | /* StructureGenerator.kt:166 */
|
177 254 | pub fn union(&self) -> ::std::option::Option<&crate::model::SingleElementUnion> {
|
255 + | /* StructureGenerator.kt:170 */
|
178 256 | self.union.as_ref()
|
257 + | /* StructureGenerator.kt:166 */
|
179 258 | }
|
259 + | /* StructureGenerator.kt:135 */
|
180 260 | }
|
261 + | /* RustType.kt:516 */
|
181 262 | #[allow(clippy::new_without_default)]
|
263 + | /* RustType.kt:516 */
|
182 264 | #[allow(clippy::too_many_arguments)]
|
265 + | /* RustType.kt:516 */
|
183 266 | #[::pyo3::pymethods]
|
267 + | /* PythonServerStructureGenerator.kt:88 */
|
184 268 | impl NullInNonSparseOutput {
|
185 269 | #[new]
|
186 270 | pub fn new(
|
187 271 | list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
188 272 | map: ::std::option::Option<
|
189 273 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
190 274 | >,
|
191 275 | union: ::std::option::Option<crate::model::SingleElementUnion>,
|
192 276 | ) -> Self {
|
193 277 | Self { list, map, union }
|
194 278 | }
|
195 279 | fn __repr__(&self) -> String {
|
196 280 | format!("{self:?}")
|
197 281 | }
|
198 282 | fn __str__(&self) -> String {
|
199 283 | format!("{self:?}")
|
200 284 | }
|
201 285 | }
|
286 + | /* PythonServerStructureGenerator.kt:111 */
|
202 287 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<NullInNonSparseOutput> {
|
203 288 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
204 289 | ob.extract::<NullInNonSparseOutput>().map(Box::new)
|
205 290 | }
|
206 291 | }
|
207 292 |
|
208 293 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<NullInNonSparseOutput> {
|
209 294 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
210 295 | (*self).into_py(py)
|
211 296 | }
|
212 297 | }
|
298 + | /* ServerCodegenVisitor.kt:370 */
|
213 299 | impl NullInNonSparseOutput {
|
214 - | /// Creates a new builder-style object to manufacture [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
300 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
301 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
215 302 | pub fn builder() -> crate::output::null_in_non_sparse_output::Builder {
|
303 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
216 304 | crate::output::null_in_non_sparse_output::Builder::default()
|
305 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
217 306 | }
|
307 + | /* ServerCodegenVisitor.kt:370 */
|
218 308 | }
|
219 309 |
|
310 + | /* RustType.kt:516 */
|
220 311 | #[::pyo3::pyclass]
|
312 + | /* PythonServerStructureGenerator.kt:63 */
|
221 313 | /// :param r#enum typing.Optional\[rest_json_extras.model.EnumWithEscapedChars\]:
|
222 314 | /// :param some_string typing.Optional\[str\]:
|
223 315 | /// :rtype None:
|
316 + | /* StructureGenerator.kt:197 */
|
224 317 | #[allow(missing_docs)] // documentation missing in model
|
318 + | /* RustType.kt:516 */
|
225 319 | #[derive(
|
226 320 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
227 321 | )]
|
228 - | pub struct EscapedStringValuesOutput {
|
322 + | pub /* StructureGenerator.kt:201 */ struct EscapedStringValuesOutput {
|
323 + | /* RustType.kt:516 */
|
229 324 | #[pyo3(get, set)]
|
325 + | /* PythonServerStructureGenerator.kt:80 */
|
230 326 | /// :type typing.Optional\[rest_json_extras.model.EnumWithEscapedChars\]:
|
327 + | /* StructureGenerator.kt:231 */
|
231 328 | #[allow(missing_docs)] // documentation missing in model
|
232 329 | pub r#enum: ::std::option::Option<crate::model::EnumWithEscapedChars>,
|
330 + | /* RustType.kt:516 */
|
233 331 | #[pyo3(get, set)]
|
332 + | /* PythonServerStructureGenerator.kt:80 */
|
234 333 | /// :type typing.Optional\[str\]:
|
334 + | /* StructureGenerator.kt:231 */
|
235 335 | #[allow(missing_docs)] // documentation missing in model
|
236 336 | pub some_string: ::std::option::Option<::std::string::String>,
|
337 + | /* StructureGenerator.kt:201 */
|
237 338 | }
|
339 + | /* StructureGenerator.kt:135 */
|
238 340 | impl EscapedStringValuesOutput {
|
341 + | /* StructureGenerator.kt:231 */
|
239 342 | #[allow(missing_docs)] // documentation missing in model
|
343 + | /* StructureGenerator.kt:166 */
|
240 344 | pub fn r#enum(&self) -> ::std::option::Option<&crate::model::EnumWithEscapedChars> {
|
345 + | /* StructureGenerator.kt:170 */
|
241 346 | self.r#enum.as_ref()
|
347 + | /* StructureGenerator.kt:166 */
|
242 348 | }
|
349 + | /* StructureGenerator.kt:231 */
|
243 350 | #[allow(missing_docs)] // documentation missing in model
|
351 + | /* StructureGenerator.kt:166 */
|
244 352 | pub fn some_string(&self) -> ::std::option::Option<&str> {
|
353 + | /* StructureGenerator.kt:169 */
|
245 354 | self.some_string.as_deref()
|
355 + | /* StructureGenerator.kt:166 */
|
246 356 | }
|
357 + | /* StructureGenerator.kt:135 */
|
247 358 | }
|
359 + | /* RustType.kt:516 */
|
248 360 | #[allow(clippy::new_without_default)]
|
361 + | /* RustType.kt:516 */
|
249 362 | #[allow(clippy::too_many_arguments)]
|
363 + | /* RustType.kt:516 */
|
250 364 | #[::pyo3::pymethods]
|
365 + | /* PythonServerStructureGenerator.kt:88 */
|
251 366 | impl EscapedStringValuesOutput {
|
252 367 | #[new]
|
253 368 | pub fn new(
|
254 369 | r#enum: ::std::option::Option<crate::model::EnumWithEscapedChars>,
|
255 370 | some_string: ::std::option::Option<::std::string::String>,
|
256 371 | ) -> Self {
|
257 372 | Self {
|
258 373 | r#enum,
|
259 374 | some_string,
|
260 375 | }
|
261 376 | }
|
262 377 | fn __repr__(&self) -> String {
|
263 378 | format!("{self:?}")
|
264 379 | }
|
265 380 | fn __str__(&self) -> String {
|
266 381 | format!("{self:?}")
|
267 382 | }
|
268 383 | }
|
384 + | /* PythonServerStructureGenerator.kt:111 */
|
269 385 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<EscapedStringValuesOutput> {
|
270 386 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
271 387 | ob.extract::<EscapedStringValuesOutput>().map(Box::new)
|
272 388 | }
|
273 389 | }
|
274 390 |
|
275 391 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EscapedStringValuesOutput> {
|
276 392 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
277 393 | (*self).into_py(py)
|
278 394 | }
|
279 395 | }
|
396 + | /* ServerCodegenVisitor.kt:370 */
|
280 397 | impl EscapedStringValuesOutput {
|
281 - | /// Creates a new builder-style object to manufacture [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
398 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
399 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
282 400 | pub fn builder() -> crate::output::escaped_string_values_output::Builder {
|
401 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
283 402 | crate::output::escaped_string_values_output::Builder::default()
|
403 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
284 404 | }
|
405 + | /* ServerCodegenVisitor.kt:370 */
|
285 406 | }
|
286 407 |
|
408 + | /* RustType.kt:516 */
|
287 409 | #[::pyo3::pyclass]
|
410 + | /* PythonServerStructureGenerator.kt:63 */
|
288 411 | /// :param value int:
|
289 412 | /// :rtype None:
|
413 + | /* StructureGenerator.kt:197 */
|
290 414 | #[allow(missing_docs)] // documentation missing in model
|
415 + | /* RustType.kt:516 */
|
291 416 | #[derive(
|
292 417 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
293 418 | )]
|
294 - | pub struct PrimitiveIntOpOutput {
|
419 + | pub /* StructureGenerator.kt:201 */ struct PrimitiveIntOpOutput {
|
420 + | /* RustType.kt:516 */
|
295 421 | #[pyo3(get, set)]
|
422 + | /* PythonServerStructureGenerator.kt:80 */
|
296 423 | /// :type int:
|
424 + | /* StructureGenerator.kt:231 */
|
297 425 | #[allow(missing_docs)] // documentation missing in model
|
298 426 | pub value: i32,
|
427 + | /* StructureGenerator.kt:201 */
|
299 428 | }
|
429 + | /* StructureGenerator.kt:135 */
|
300 430 | impl PrimitiveIntOpOutput {
|
431 + | /* StructureGenerator.kt:231 */
|
301 432 | #[allow(missing_docs)] // documentation missing in model
|
433 + | /* StructureGenerator.kt:166 */
|
302 434 | pub fn value(&self) -> i32 {
|
435 + | /* StructureGenerator.kt:168 */
|
303 436 | self.value
|
437 + | /* StructureGenerator.kt:166 */
|
304 438 | }
|
439 + | /* StructureGenerator.kt:135 */
|
305 440 | }
|
441 + | /* RustType.kt:516 */
|
306 442 | #[allow(clippy::new_without_default)]
|
443 + | /* RustType.kt:516 */
|
307 444 | #[allow(clippy::too_many_arguments)]
|
445 + | /* RustType.kt:516 */
|
308 446 | #[::pyo3::pymethods]
|
447 + | /* PythonServerStructureGenerator.kt:88 */
|
309 448 | impl PrimitiveIntOpOutput {
|
310 449 | #[new]
|
311 450 | pub fn new(value: i32) -> Self {
|
312 451 | Self { value }
|
313 452 | }
|
314 453 | fn __repr__(&self) -> String {
|
315 454 | format!("{self:?}")
|
316 455 | }
|
317 456 | fn __str__(&self) -> String {
|
318 457 | format!("{self:?}")
|
319 458 | }
|
320 459 | }
|
460 + | /* PythonServerStructureGenerator.kt:111 */
|
321 461 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<PrimitiveIntOpOutput> {
|
322 462 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
323 463 | ob.extract::<PrimitiveIntOpOutput>().map(Box::new)
|
324 464 | }
|
325 465 | }
|
326 466 |
|
327 467 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<PrimitiveIntOpOutput> {
|
328 468 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
329 469 | (*self).into_py(py)
|
330 470 | }
|
331 471 | }
|
472 + | /* ServerCodegenVisitor.kt:370 */
|
332 473 | impl PrimitiveIntOpOutput {
|
333 - | /// Creates a new builder-style object to manufacture [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
474 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
475 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
334 476 | pub fn builder() -> crate::output::primitive_int_op_output::Builder {
|
477 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
335 478 | crate::output::primitive_int_op_output::Builder::default()
|
479 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
336 480 | }
|
481 + | /* ServerCodegenVisitor.kt:370 */
|
337 482 | }
|
338 483 |
|
484 + | /* RustType.kt:516 */
|
339 485 | #[::pyo3::pyclass]
|
486 + | /* PythonServerStructureGenerator.kt:63 */
|
340 487 | /// :param map typing.Optional\[typing.Dict\[rest_json_extras.model.StringEnum, str\]\]:
|
341 488 | /// :rtype None:
|
489 + | /* StructureGenerator.kt:197 */
|
342 490 | #[allow(missing_docs)] // documentation missing in model
|
491 + | /* RustType.kt:516 */
|
343 492 | #[derive(::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
344 - | pub struct MapWithEnumKeyOpOutput {
|
493 + | pub /* StructureGenerator.kt:201 */ struct MapWithEnumKeyOpOutput {
|
494 + | /* RustType.kt:516 */
|
345 495 | #[pyo3(get, set)]
|
496 + | /* PythonServerStructureGenerator.kt:80 */
|
346 497 | /// :type typing.Optional\[typing.Dict\[rest_json_extras.model.StringEnum, str\]\]:
|
498 + | /* StructureGenerator.kt:231 */
|
347 499 | #[allow(missing_docs)] // documentation missing in model
|
348 500 | pub map: ::std::option::Option<
|
349 501 | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
350 502 | >,
|
503 + | /* StructureGenerator.kt:201 */
|
351 504 | }
|
505 + | /* StructureGenerator.kt:135 */
|
352 506 | impl MapWithEnumKeyOpOutput {
|
507 + | /* StructureGenerator.kt:231 */
|
353 508 | #[allow(missing_docs)] // documentation missing in model
|
509 + | /* StructureGenerator.kt:166 */
|
354 510 | pub fn map(
|
355 511 | &self,
|
356 512 | ) -> ::std::option::Option<
|
357 513 | &::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
358 514 | > {
|
515 + | /* StructureGenerator.kt:170 */
|
359 516 | self.map.as_ref()
|
517 + | /* StructureGenerator.kt:166 */
|
360 518 | }
|
519 + | /* StructureGenerator.kt:135 */
|
361 520 | }
|
521 + | /* RustType.kt:516 */
|
362 522 | #[allow(clippy::new_without_default)]
|
523 + | /* RustType.kt:516 */
|
363 524 | #[allow(clippy::too_many_arguments)]
|
525 + | /* RustType.kt:516 */
|
364 526 | #[::pyo3::pymethods]
|
527 + | /* PythonServerStructureGenerator.kt:88 */
|
365 528 | impl MapWithEnumKeyOpOutput {
|
366 529 | #[new]
|
367 530 | pub fn new(
|
368 531 | map: ::std::option::Option<
|
369 532 | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
370 533 | >,
|
371 534 | ) -> Self {
|
372 535 | Self { map }
|
373 536 | }
|
374 537 | fn __repr__(&self) -> String {
|
375 538 | format!("{self:?}")
|
376 539 | }
|
377 540 | fn __str__(&self) -> String {
|
378 541 | format!("{self:?}")
|
379 542 | }
|
380 543 | }
|
544 + | /* PythonServerStructureGenerator.kt:111 */
|
381 545 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MapWithEnumKeyOpOutput> {
|
382 546 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
383 547 | ob.extract::<MapWithEnumKeyOpOutput>().map(Box::new)
|
384 548 | }
|
385 549 | }
|
386 550 |
|
387 551 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MapWithEnumKeyOpOutput> {
|
388 552 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
389 553 | (*self).into_py(py)
|
390 554 | }
|
391 555 | }
|
556 + | /* ServerCodegenVisitor.kt:370 */
|
392 557 | impl MapWithEnumKeyOpOutput {
|
393 - | /// Creates a new builder-style object to manufacture [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
558 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
559 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
394 560 | pub fn builder() -> crate::output::map_with_enum_key_op_output::Builder {
|
561 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
395 562 | crate::output::map_with_enum_key_op_output::Builder::default()
|
563 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
396 564 | }
|
565 + | /* ServerCodegenVisitor.kt:370 */
|
397 566 | }
|
398 567 |
|
568 + | /* RustType.kt:516 */
|
399 569 | #[::pyo3::pyclass]
|
570 + | /* PythonServerStructureGenerator.kt:63 */
|
400 571 | /// :param field int:
|
401 572 | /// :rtype None:
|
573 + | /* StructureGenerator.kt:197 */
|
402 574 | #[allow(missing_docs)] // documentation missing in model
|
575 + | /* RustType.kt:516 */
|
403 576 | #[derive(
|
404 577 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
405 578 | )]
|
406 - | pub struct StatusResponseOutput {
|
579 + | pub /* StructureGenerator.kt:201 */ struct StatusResponseOutput {
|
580 + | /* RustType.kt:516 */
|
407 581 | #[pyo3(get, set)]
|
582 + | /* PythonServerStructureGenerator.kt:80 */
|
408 583 | /// :type int:
|
584 + | /* StructureGenerator.kt:231 */
|
409 585 | #[allow(missing_docs)] // documentation missing in model
|
410 586 | pub field: i32,
|
587 + | /* StructureGenerator.kt:201 */
|
411 588 | }
|
589 + | /* StructureGenerator.kt:135 */
|
412 590 | impl StatusResponseOutput {
|
591 + | /* StructureGenerator.kt:231 */
|
413 592 | #[allow(missing_docs)] // documentation missing in model
|
593 + | /* StructureGenerator.kt:166 */
|
414 594 | pub fn field(&self) -> i32 {
|
595 + | /* StructureGenerator.kt:168 */
|
415 596 | self.field
|
597 + | /* StructureGenerator.kt:166 */
|
416 598 | }
|
599 + | /* StructureGenerator.kt:135 */
|
417 600 | }
|
601 + | /* RustType.kt:516 */
|
418 602 | #[allow(clippy::new_without_default)]
|
603 + | /* RustType.kt:516 */
|
419 604 | #[allow(clippy::too_many_arguments)]
|
605 + | /* RustType.kt:516 */
|
420 606 | #[::pyo3::pymethods]
|
607 + | /* PythonServerStructureGenerator.kt:88 */
|
421 608 | impl StatusResponseOutput {
|
422 609 | #[new]
|
423 610 | pub fn new(field: i32) -> Self {
|
424 611 | Self { field }
|
425 612 | }
|
426 613 | fn __repr__(&self) -> String {
|
427 614 | format!("{self:?}")
|
428 615 | }
|
429 616 | fn __str__(&self) -> String {
|
430 617 | format!("{self:?}")
|
431 618 | }
|
432 619 | }
|
620 + | /* PythonServerStructureGenerator.kt:111 */
|
433 621 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<StatusResponseOutput> {
|
434 622 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
435 623 | ob.extract::<StatusResponseOutput>().map(Box::new)
|
436 624 | }
|
437 625 | }
|
438 626 |
|
439 627 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<StatusResponseOutput> {
|
440 628 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
441 629 | (*self).into_py(py)
|
442 630 | }
|
443 631 | }
|
632 + | /* ServerCodegenVisitor.kt:370 */
|
444 633 | impl StatusResponseOutput {
|
445 - | /// Creates a new builder-style object to manufacture [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
634 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
635 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
446 636 | pub fn builder() -> crate::output::status_response_output::Builder {
|
637 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
447 638 | crate::output::status_response_output::Builder::default()
|
639 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
448 640 | }
|
641 + | /* ServerCodegenVisitor.kt:370 */
|
449 642 | }
|
450 643 |
|
644 + | /* RustType.kt:516 */
|
451 645 | #[::pyo3::pyclass]
|
646 + | /* PythonServerStructureGenerator.kt:63 */
|
452 647 | /// :rtype None:
|
648 + | /* StructureGenerator.kt:197 */
|
453 649 | #[allow(missing_docs)] // documentation missing in model
|
650 + | /* RustType.kt:516 */
|
454 651 | #[derive(
|
455 652 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
456 653 | )]
|
457 - | pub struct EnumQueryOutput {}
|
654 + | pub /* StructureGenerator.kt:201 */ struct EnumQueryOutput {/* StructureGenerator.kt:201 */}
|
655 + | /* RustType.kt:516 */
|
458 656 | #[allow(clippy::new_without_default)]
|
657 + | /* RustType.kt:516 */
|
459 658 | #[allow(clippy::too_many_arguments)]
|
659 + | /* RustType.kt:516 */
|
460 660 | #[::pyo3::pymethods]
|
661 + | /* PythonServerStructureGenerator.kt:88 */
|
461 662 | impl EnumQueryOutput {
|
462 663 | #[new]
|
463 664 | pub fn new() -> Self {
|
464 665 | Self {}
|
465 666 | }
|
466 667 | fn __repr__(&self) -> String {
|
467 668 | format!("{self:?}")
|
468 669 | }
|
469 670 | fn __str__(&self) -> String {
|
470 671 | format!("{self:?}")
|
471 672 | }
|
472 673 | }
|
674 + | /* PythonServerStructureGenerator.kt:111 */
|
473 675 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<EnumQueryOutput> {
|
474 676 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
475 677 | ob.extract::<EnumQueryOutput>().map(Box::new)
|
476 678 | }
|
477 679 | }
|
478 680 |
|
479 681 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<EnumQueryOutput> {
|
480 682 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
481 683 | (*self).into_py(py)
|
482 684 | }
|
483 685 | }
|
686 + | /* ServerCodegenVisitor.kt:370 */
|
484 687 | impl EnumQueryOutput {
|
485 - | /// Creates a new builder-style object to manufacture [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
688 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
689 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
486 690 | pub fn builder() -> crate::output::enum_query_output::Builder {
|
691 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
487 692 | crate::output::enum_query_output::Builder::default()
|
693 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
488 694 | }
|
695 + | /* ServerCodegenVisitor.kt:370 */
|
489 696 | }
|
490 697 |
|
698 + | /* RustType.kt:516 */
|
491 699 | #[::pyo3::pyclass]
|
700 + | /* PythonServerStructureGenerator.kt:63 */
|
492 701 | /// :param field int:
|
493 702 | /// :rtype None:
|
703 + | /* StructureGenerator.kt:197 */
|
494 704 | #[allow(missing_docs)] // documentation missing in model
|
705 + | /* RustType.kt:516 */
|
495 706 | #[derive(
|
496 707 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
497 708 | )]
|
498 - | pub struct PrimitiveIntHeaderOutput {
|
709 + | pub /* StructureGenerator.kt:201 */ struct PrimitiveIntHeaderOutput {
|
710 + | /* RustType.kt:516 */
|
499 711 | #[pyo3(get, set)]
|
712 + | /* PythonServerStructureGenerator.kt:80 */
|
500 713 | /// :type int:
|
714 + | /* StructureGenerator.kt:231 */
|
501 715 | #[allow(missing_docs)] // documentation missing in model
|
502 716 | pub field: i32,
|
717 + | /* StructureGenerator.kt:201 */
|
503 718 | }
|
719 + | /* StructureGenerator.kt:135 */
|
504 720 | impl PrimitiveIntHeaderOutput {
|
721 + | /* StructureGenerator.kt:231 */
|
505 722 | #[allow(missing_docs)] // documentation missing in model
|
723 + | /* StructureGenerator.kt:166 */
|
506 724 | pub fn field(&self) -> i32 {
|
725 + | /* StructureGenerator.kt:168 */
|
507 726 | self.field
|
727 + | /* StructureGenerator.kt:166 */
|
508 728 | }
|
729 + | /* StructureGenerator.kt:135 */
|
509 730 | }
|
731 + | /* RustType.kt:516 */
|
510 732 | #[allow(clippy::new_without_default)]
|
733 + | /* RustType.kt:516 */
|
511 734 | #[allow(clippy::too_many_arguments)]
|
735 + | /* RustType.kt:516 */
|
512 736 | #[::pyo3::pymethods]
|
737 + | /* PythonServerStructureGenerator.kt:88 */
|
513 738 | impl PrimitiveIntHeaderOutput {
|
514 739 | #[new]
|
515 740 | pub fn new(field: i32) -> Self {
|
516 741 | Self { field }
|
517 742 | }
|
518 743 | fn __repr__(&self) -> String {
|
519 744 | format!("{self:?}")
|
520 745 | }
|
521 746 | fn __str__(&self) -> String {
|
522 747 | format!("{self:?}")
|
523 748 | }
|
524 749 | }
|
750 + | /* PythonServerStructureGenerator.kt:111 */
|
525 751 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<PrimitiveIntHeaderOutput> {
|
526 752 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
527 753 | ob.extract::<PrimitiveIntHeaderOutput>().map(Box::new)
|
528 754 | }
|
529 755 | }
|
530 756 |
|
531 757 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<PrimitiveIntHeaderOutput> {
|
532 758 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
533 759 | (*self).into_py(py)
|
534 760 | }
|
535 761 | }
|
762 + | /* ServerCodegenVisitor.kt:370 */
|
536 763 | impl PrimitiveIntHeaderOutput {
|
537 - | /// Creates a new builder-style object to manufacture [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
764 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
765 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
538 766 | pub fn builder() -> crate::output::primitive_int_header_output::Builder {
|
767 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
539 768 | crate::output::primitive_int_header_output::Builder::default()
|
769 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
540 770 | }
|
771 + | /* ServerCodegenVisitor.kt:370 */
|
541 772 | }
|
542 773 |
|
774 + | /* RustType.kt:516 */
|
543 775 | #[::pyo3::pyclass]
|
776 + | /* PythonServerStructureGenerator.kt:63 */
|
544 777 | /// :param payload typing.Optional\[str\]:
|
545 778 | /// :rtype None:
|
779 + | /* StructureGenerator.kt:197 */
|
546 780 | #[allow(missing_docs)] // documentation missing in model
|
781 + | /* RustType.kt:516 */
|
547 782 | #[derive(
|
548 783 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
549 784 | )]
|
550 - | pub struct StringPayloadOutput {
|
785 + | pub /* StructureGenerator.kt:201 */ struct StringPayloadOutput {
|
786 + | /* RustType.kt:516 */
|
551 787 | #[pyo3(get, set)]
|
788 + | /* PythonServerStructureGenerator.kt:80 */
|
552 789 | /// :type typing.Optional\[str\]:
|
790 + | /* StructureGenerator.kt:231 */
|
553 791 | #[allow(missing_docs)] // documentation missing in model
|
554 792 | pub payload: ::std::option::Option<::std::string::String>,
|
793 + | /* StructureGenerator.kt:201 */
|
555 794 | }
|
795 + | /* StructureGenerator.kt:135 */
|
556 796 | impl StringPayloadOutput {
|
797 + | /* StructureGenerator.kt:231 */
|
557 798 | #[allow(missing_docs)] // documentation missing in model
|
799 + | /* StructureGenerator.kt:166 */
|
558 800 | pub fn payload(&self) -> ::std::option::Option<&str> {
|
801 + | /* StructureGenerator.kt:169 */
|
559 802 | self.payload.as_deref()
|
803 + | /* StructureGenerator.kt:166 */
|
560 804 | }
|
805 + | /* StructureGenerator.kt:135 */
|
561 806 | }
|
807 + | /* RustType.kt:516 */
|
562 808 | #[allow(clippy::new_without_default)]
|
809 + | /* RustType.kt:516 */
|
563 810 | #[allow(clippy::too_many_arguments)]
|
811 + | /* RustType.kt:516 */
|
564 812 | #[::pyo3::pymethods]
|
813 + | /* PythonServerStructureGenerator.kt:88 */
|
565 814 | impl StringPayloadOutput {
|
566 815 | #[new]
|
567 816 | pub fn new(payload: ::std::option::Option<::std::string::String>) -> Self {
|
568 817 | Self { payload }
|
569 818 | }
|
570 819 | fn __repr__(&self) -> String {
|
571 820 | format!("{self:?}")
|
572 821 | }
|
573 822 | fn __str__(&self) -> String {
|
574 823 | format!("{self:?}")
|
575 824 | }
|
576 825 | }
|
826 + | /* PythonServerStructureGenerator.kt:111 */
|
577 827 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<StringPayloadOutput> {
|
578 828 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
579 829 | ob.extract::<StringPayloadOutput>().map(Box::new)
|
580 830 | }
|
581 831 | }
|
582 832 |
|
583 833 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<StringPayloadOutput> {
|
584 834 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
585 835 | (*self).into_py(py)
|
586 836 | }
|
587 837 | }
|
838 + | /* ServerCodegenVisitor.kt:370 */
|
588 839 | impl StringPayloadOutput {
|
589 - | /// Creates a new builder-style object to manufacture [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
840 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
841 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
590 842 | pub fn builder() -> crate::output::string_payload_output::Builder {
|
843 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
591 844 | crate::output::string_payload_output::Builder::default()
|
845 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
592 846 | }
|
847 + | /* ServerCodegenVisitor.kt:370 */
|
593 848 | }
|
594 - | /// See [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
849 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
595 850 | pub mod query_precedence_output {
|
596 851 |
|
852 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
597 853 | impl ::std::convert::From<Builder> for crate::output::QueryPrecedenceOutput {
|
598 854 | fn from(builder: Builder) -> Self {
|
599 855 | builder.build()
|
600 856 | }
|
601 857 | }
|
602 - | /// A builder for [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
858 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
859 + | /* RustType.kt:516 */
|
603 860 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
604 - | pub struct Builder {}
|
861 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
862 + | pub struct Builder {/* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */}
|
863 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
605 864 | impl Builder {
|
606 - | /// Consumes the builder and constructs a [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
865 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`QueryPrecedenceOutput`](crate::output::QueryPrecedenceOutput).
|
866 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
607 867 | pub fn build(self) -> crate::output::QueryPrecedenceOutput {
|
608 868 | self.build_enforcing_required_and_enum_traits()
|
609 869 | }
|
870 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
610 871 | fn build_enforcing_required_and_enum_traits(self) -> crate::output::QueryPrecedenceOutput {
|
611 - | crate::output::QueryPrecedenceOutput {}
|
872 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
873 + | crate::output::QueryPrecedenceOutput {
|
874 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */}
|
875 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
612 876 | }
|
877 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
613 878 | }
|
879 + |
|
880 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
614 881 | }
|
615 - | /// See [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
882 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
616 883 | pub mod empty_struct_with_content_on_wire_op_output {
|
617 884 |
|
885 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
618 886 | impl ::std::convert::From<Builder> for crate::output::EmptyStructWithContentOnWireOpOutput {
|
619 887 | fn from(builder: Builder) -> Self {
|
620 888 | builder.build()
|
621 889 | }
|
622 890 | }
|
623 - | /// A builder for [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
891 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
892 + | /* RustType.kt:516 */
|
624 893 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
894 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
625 895 | pub struct Builder {
|
896 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
626 897 | pub(crate) empty: ::std::option::Option<crate::model::EmptyStruct>,
|
898 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
627 899 | }
|
900 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
628 901 | impl Builder {
|
902 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
629 903 | #[allow(missing_docs)] // documentation missing in model
|
904 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
630 905 | pub fn empty(mut self, input: ::std::option::Option<crate::model::EmptyStruct>) -> Self {
|
631 - | self.empty = input;
|
906 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
907 + | self.empty =
|
908 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
909 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
632 910 | self
|
911 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
633 912 | }
|
634 - | /// Consumes the builder and constructs a [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
913 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`EmptyStructWithContentOnWireOpOutput`](crate::output::EmptyStructWithContentOnWireOpOutput).
|
914 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
635 915 | pub fn build(self) -> crate::output::EmptyStructWithContentOnWireOpOutput {
|
636 916 | self.build_enforcing_required_and_enum_traits()
|
637 917 | }
|
918 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
638 919 | fn build_enforcing_required_and_enum_traits(
|
639 920 | self,
|
640 921 | ) -> crate::output::EmptyStructWithContentOnWireOpOutput {
|
641 - | crate::output::EmptyStructWithContentOnWireOpOutput { empty: self.empty }
|
922 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
923 + | crate::output::EmptyStructWithContentOnWireOpOutput {
|
924 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
925 + | empty: self.empty,
|
926 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
927 + | }
|
928 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
642 929 | }
|
930 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
643 931 | }
|
932 + |
|
933 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
644 934 | }
|
645 - | /// See [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
935 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
646 936 | pub mod case_insensitive_error_operation_output {
|
647 937 |
|
938 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
648 939 | impl ::std::convert::From<Builder> for crate::output::CaseInsensitiveErrorOperationOutput {
|
649 940 | fn from(builder: Builder) -> Self {
|
650 941 | builder.build()
|
651 942 | }
|
652 943 | }
|
653 - | /// A builder for [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
944 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
945 + | /* RustType.kt:516 */
|
654 946 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
655 - | pub struct Builder {}
|
947 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
948 + | pub struct Builder {/* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */}
|
949 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
656 950 | impl Builder {
|
657 - | /// Consumes the builder and constructs a [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
951 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`CaseInsensitiveErrorOperationOutput`](crate::output::CaseInsensitiveErrorOperationOutput).
|
952 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
658 953 | pub fn build(self) -> crate::output::CaseInsensitiveErrorOperationOutput {
|
659 954 | self.build_enforcing_required_and_enum_traits()
|
660 955 | }
|
956 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
661 957 | fn build_enforcing_required_and_enum_traits(
|
662 958 | self,
|
663 959 | ) -> crate::output::CaseInsensitiveErrorOperationOutput {
|
664 - | crate::output::CaseInsensitiveErrorOperationOutput {}
|
960 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
961 + | crate::output::CaseInsensitiveErrorOperationOutput {
|
962 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */}
|
963 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
665 964 | }
|
965 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
666 966 | }
|
967 + |
|
968 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
667 969 | }
|
668 - | /// See [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
970 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
669 971 | pub mod null_in_non_sparse_output {
|
670 972 |
|
973 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
671 974 | impl ::std::convert::From<Builder> for crate::output::NullInNonSparseOutput {
|
672 975 | fn from(builder: Builder) -> Self {
|
673 976 | builder.build()
|
674 977 | }
|
675 978 | }
|
676 - | /// A builder for [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
979 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
980 + | /* RustType.kt:516 */
|
677 981 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
982 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
678 983 | pub struct Builder {
|
984 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
679 985 | pub(crate) list: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
986 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
680 987 | pub(crate) map: ::std::option::Option<
|
681 988 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
682 989 | >,
|
990 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
683 991 | pub(crate) union: ::std::option::Option<crate::model::SingleElementUnion>,
|
992 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
684 993 | }
|
994 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
685 995 | impl Builder {
|
996 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
686 997 | #[allow(missing_docs)] // documentation missing in model
|
998 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
687 999 | pub fn list(
|
688 1000 | mut self,
|
689 1001 | input: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
690 1002 | ) -> Self {
|
691 - | self.list = input;
|
1003 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
1004 + | self.list =
|
1005 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
1006 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
692 1007 | self
|
1008 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
693 1009 | }
|
1010 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
694 1011 | #[allow(missing_docs)] // documentation missing in model
|
1012 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
695 1013 | pub fn map(
|
696 1014 | mut self,
|
697 1015 | input: ::std::option::Option<
|
698 1016 | ::std::collections::HashMap<::std::string::String, ::std::string::String>,
|
699 1017 | >,
|
700 1018 | ) -> Self {
|
701 - | self.map = input;
|
1019 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
1020 + | self.map =
|
1021 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
1022 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
702 1023 | self
|
1024 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
703 1025 | }
|
1026 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
704 1027 | #[allow(missing_docs)] // documentation missing in model
|
1028 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
705 1029 | pub fn union(
|
706 1030 | mut self,
|
707 1031 | input: ::std::option::Option<crate::model::SingleElementUnion>,
|
708 1032 | ) -> Self {
|
709 - | self.union = input;
|
1033 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
1034 + | self.union =
|
1035 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
1036 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
710 1037 | self
|
1038 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
711 1039 | }
|
712 - | /// Consumes the builder and constructs a [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
1040 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`NullInNonSparseOutput`](crate::output::NullInNonSparseOutput).
|
1041 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
713 1042 | pub fn build(self) -> crate::output::NullInNonSparseOutput {
|
714 1043 | self.build_enforcing_required_and_enum_traits()
|
715 1044 | }
|
1045 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
716 1046 | fn build_enforcing_required_and_enum_traits(self) -> crate::output::NullInNonSparseOutput {
|
1047 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
717 1048 | crate::output::NullInNonSparseOutput {
|
1049 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
718 1050 | list: self.list,
|
1051 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
719 1052 | map: self.map,
|
1053 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
720 1054 | union: self.union,
|
1055 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
721 1056 | }
|
1057 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
722 1058 | }
|
1059 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
723 1060 | }
|
1061 + |
|
1062 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
724 1063 | }
|
725 - | /// See [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
1064 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
726 1065 | pub mod escaped_string_values_output {
|
727 1066 |
|
1067 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
728 1068 | impl ::std::convert::From<Builder> for crate::output::EscapedStringValuesOutput {
|
729 1069 | fn from(builder: Builder) -> Self {
|
730 1070 | builder.build()
|
731 1071 | }
|
732 1072 | }
|
733 - | /// A builder for [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
1073 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
1074 + | /* RustType.kt:516 */
|
734 1075 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1076 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
735 1077 | pub struct Builder {
|
1078 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
736 1079 | pub(crate) r#enum: ::std::option::Option<crate::model::EnumWithEscapedChars>,
|
1080 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
737 1081 | pub(crate) some_string: ::std::option::Option<::std::string::String>,
|
1082 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
738 1083 | }
|
1084 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
739 1085 | impl Builder {
|
1086 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
740 1087 | #[allow(missing_docs)] // documentation missing in model
|
1088 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
741 1089 | pub fn r#enum(
|
742 1090 | mut self,
|
743 1091 | input: ::std::option::Option<crate::model::EnumWithEscapedChars>,
|
744 1092 | ) -> Self {
|
745 - | self.r#enum = input;
|
1093 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
1094 + | self.r#enum =
|
1095 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
1096 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
746 1097 | self
|
1098 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
747 1099 | }
|
1100 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
748 1101 | #[allow(missing_docs)] // documentation missing in model
|
1102 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
749 1103 | pub fn some_string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
750 - | self.some_string = input;
|
1104 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
1105 + | self.some_string =
|
1106 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
1107 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
751 1108 | self
|
1109 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
752 1110 | }
|
753 - | /// Consumes the builder and constructs a [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
1111 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`EscapedStringValuesOutput`](crate::output::EscapedStringValuesOutput).
|
1112 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
754 1113 | pub fn build(self) -> crate::output::EscapedStringValuesOutput {
|
755 1114 | self.build_enforcing_required_and_enum_traits()
|
756 1115 | }
|
1116 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
757 1117 | fn build_enforcing_required_and_enum_traits(
|
758 1118 | self,
|
759 1119 | ) -> crate::output::EscapedStringValuesOutput {
|
1120 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
760 1121 | crate::output::EscapedStringValuesOutput {
|
1122 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
761 1123 | r#enum: self.r#enum,
|
1124 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
762 1125 | some_string: self.some_string,
|
1126 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
763 1127 | }
|
1128 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
764 1129 | }
|
1130 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
765 1131 | }
|
1132 + |
|
1133 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
766 1134 | }
|
767 - | /// See [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
1135 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
768 1136 | pub mod primitive_int_op_output {
|
769 1137 |
|
1138 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
770 1139 | impl ::std::convert::From<Builder> for crate::output::PrimitiveIntOpOutput {
|
771 1140 | fn from(builder: Builder) -> Self {
|
772 1141 | builder.build()
|
773 1142 | }
|
774 1143 | }
|
775 - | /// A builder for [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
1144 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
1145 + | /* RustType.kt:516 */
|
776 1146 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1147 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
777 1148 | pub struct Builder {
|
1149 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
778 1150 | pub(crate) value: ::std::option::Option<i32>,
|
1151 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
779 1152 | }
|
1153 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
780 1154 | impl Builder {
|
1155 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
781 1156 | #[allow(missing_docs)] // documentation missing in model
|
1157 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
782 1158 | pub fn value(mut self, input: i32) -> Self {
|
783 - | self.value = Some(input);
|
1159 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
1160 + | self.value =
|
1161 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
|
1162 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
1163 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
|
1164 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
784 1165 | self
|
1166 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
785 1167 | }
|
786 - | /// Consumes the builder and constructs a [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
1168 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`PrimitiveIntOpOutput`](crate::output::PrimitiveIntOpOutput).
|
1169 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
787 1170 | pub fn build(self) -> crate::output::PrimitiveIntOpOutput {
|
788 1171 | self.build_enforcing_required_and_enum_traits()
|
789 1172 | }
|
1173 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
790 1174 | fn build_enforcing_required_and_enum_traits(self) -> crate::output::PrimitiveIntOpOutput {
|
1175 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
791 1176 | crate::output::PrimitiveIntOpOutput {
|
792 - | value: self.value.unwrap_or(0i32),
|
1177 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
1178 + | value: self
|
1179 + | .value
|
1180 + | /* ServerBuilderGeneratorCommon.kt:135 */
|
1181 + | .unwrap_or(0i32),
|
1182 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
793 1183 | }
|
1184 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
794 1185 | }
|
1186 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
795 1187 | }
|
1188 + |
|
1189 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
796 1190 | }
|
797 - | /// See [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
1191 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
798 1192 | pub mod map_with_enum_key_op_output {
|
799 1193 |
|
1194 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
800 1195 | impl ::std::convert::From<Builder> for crate::output::MapWithEnumKeyOpOutput {
|
801 1196 | fn from(builder: Builder) -> Self {
|
802 1197 | builder.build()
|
803 1198 | }
|
804 1199 | }
|
805 - | /// A builder for [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
1200 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
1201 + | /* RustType.kt:516 */
|
806 1202 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1203 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
807 1204 | pub struct Builder {
|
1205 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
808 1206 | pub(crate) map: ::std::option::Option<
|
809 1207 | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
810 1208 | >,
|
1209 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
811 1210 | }
|
1211 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
812 1212 | impl Builder {
|
1213 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
813 1214 | #[allow(missing_docs)] // documentation missing in model
|
1215 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
814 1216 | pub fn map(
|
815 1217 | mut self,
|
816 1218 | input: ::std::option::Option<
|
817 1219 | ::std::collections::HashMap<crate::model::StringEnum, ::std::string::String>,
|
818 1220 | >,
|
819 1221 | ) -> Self {
|
820 - | self.map = input;
|
1222 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
1223 + | self.map =
|
1224 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
1225 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
821 1226 | self
|
1227 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
822 1228 | }
|
823 - | /// Consumes the builder and constructs a [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
1229 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`MapWithEnumKeyOpOutput`](crate::output::MapWithEnumKeyOpOutput).
|
1230 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
824 1231 | pub fn build(self) -> crate::output::MapWithEnumKeyOpOutput {
|
825 1232 | self.build_enforcing_required_and_enum_traits()
|
826 1233 | }
|
1234 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
827 1235 | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MapWithEnumKeyOpOutput {
|
828 - | crate::output::MapWithEnumKeyOpOutput { map: self.map }
|
1236 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
1237 + | crate::output::MapWithEnumKeyOpOutput {
|
1238 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
1239 + | map: self.map,
|
1240 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
1241 + | }
|
1242 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
829 1243 | }
|
1244 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
830 1245 | }
|
1246 + |
|
1247 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
831 1248 | }
|
832 - | /// See [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
1249 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
833 1250 | pub mod status_response_output {
|
834 1251 |
|
1252 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
835 1253 | impl ::std::convert::From<Builder> for crate::output::StatusResponseOutput {
|
836 1254 | fn from(builder: Builder) -> Self {
|
837 1255 | builder.build()
|
838 1256 | }
|
839 1257 | }
|
840 - | /// A builder for [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
1258 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
1259 + | /* RustType.kt:516 */
|
841 1260 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1261 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
842 1262 | pub struct Builder {
|
1263 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
843 1264 | pub(crate) field: ::std::option::Option<i32>,
|
1265 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
844 1266 | }
|
1267 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
845 1268 | impl Builder {
|
1269 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
846 1270 | #[allow(missing_docs)] // documentation missing in model
|
1271 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
847 1272 | pub fn field(mut self, input: i32) -> Self {
|
848 - | self.field = Some(input);
|
1273 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
1274 + | self.field =
|
1275 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
|
1276 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
1277 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
|
1278 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
849 1279 | self
|
1280 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
850 1281 | }
|
851 - | /// Consumes the builder and constructs a [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
1282 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`StatusResponseOutput`](crate::output::StatusResponseOutput).
|
1283 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
852 1284 | pub fn build(self) -> crate::output::StatusResponseOutput {
|
853 1285 | self.build_enforcing_required_and_enum_traits()
|
854 1286 | }
|
1287 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
855 1288 | fn build_enforcing_required_and_enum_traits(self) -> crate::output::StatusResponseOutput {
|
1289 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
856 1290 | crate::output::StatusResponseOutput {
|
857 - | field: self.field.unwrap_or(0i32),
|
1291 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
1292 + | field: self
|
1293 + | .field
|
1294 + | /* ServerBuilderGeneratorCommon.kt:135 */
|
1295 + | .unwrap_or(0i32),
|
1296 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
858 1297 | }
|
1298 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
859 1299 | }
|
1300 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
860 1301 | }
|
1302 + |
|
1303 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
861 1304 | }
|
862 - | /// See [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
1305 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
863 1306 | pub mod enum_query_output {
|
864 1307 |
|
1308 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
865 1309 | impl ::std::convert::From<Builder> for crate::output::EnumQueryOutput {
|
866 1310 | fn from(builder: Builder) -> Self {
|
867 1311 | builder.build()
|
868 1312 | }
|
869 1313 | }
|
870 - | /// A builder for [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
1314 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
1315 + | /* RustType.kt:516 */
|
871 1316 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
872 - | pub struct Builder {}
|
1317 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
1318 + | pub struct Builder {/* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */}
|
1319 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
873 1320 | impl Builder {
|
874 - | /// Consumes the builder and constructs a [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
1321 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`EnumQueryOutput`](crate::output::EnumQueryOutput).
|
1322 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
875 1323 | pub fn build(self) -> crate::output::EnumQueryOutput {
|
876 1324 | self.build_enforcing_required_and_enum_traits()
|
877 1325 | }
|
1326 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
878 1327 | fn build_enforcing_required_and_enum_traits(self) -> crate::output::EnumQueryOutput {
|
879 - | crate::output::EnumQueryOutput {}
|
1328 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
1329 + | crate::output::EnumQueryOutput {
|
1330 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */}
|
1331 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
880 1332 | }
|
1333 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
881 1334 | }
|
1335 + |
|
1336 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
882 1337 | }
|
883 - | /// See [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
1338 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
884 1339 | pub mod primitive_int_header_output {
|
885 1340 |
|
1341 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
886 1342 | impl ::std::convert::From<Builder> for crate::output::PrimitiveIntHeaderOutput {
|
887 1343 | fn from(builder: Builder) -> Self {
|
888 1344 | builder.build()
|
889 1345 | }
|
890 1346 | }
|
891 - | /// A builder for [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
1347 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
1348 + | /* RustType.kt:516 */
|
892 1349 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1350 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
893 1351 | pub struct Builder {
|
1352 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
894 1353 | pub(crate) field: ::std::option::Option<i32>,
|
1354 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
895 1355 | }
|
1356 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
896 1357 | impl Builder {
|
1358 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
897 1359 | #[allow(missing_docs)] // documentation missing in model
|
1360 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
898 1361 | pub fn field(mut self, input: i32) -> Self {
|
899 - | self.field = Some(input);
|
1362 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
1363 + | self.field =
|
1364 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */Some(
|
1365 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
1366 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:246 */)
|
1367 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
900 1368 | self
|
1369 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
901 1370 | }
|
902 - | /// Consumes the builder and constructs a [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
1371 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`PrimitiveIntHeaderOutput`](crate::output::PrimitiveIntHeaderOutput).
|
1372 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
903 1373 | pub fn build(self) -> crate::output::PrimitiveIntHeaderOutput {
|
904 1374 | self.build_enforcing_required_and_enum_traits()
|
905 1375 | }
|
1376 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
906 1377 | fn build_enforcing_required_and_enum_traits(
|
907 1378 | self,
|
908 1379 | ) -> crate::output::PrimitiveIntHeaderOutput {
|
1380 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
909 1381 | crate::output::PrimitiveIntHeaderOutput {
|
910 - | field: self.field.unwrap_or(0i32),
|
1382 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
1383 + | field: self
|
1384 + | .field
|
1385 + | /* ServerBuilderGeneratorCommon.kt:135 */
|
1386 + | .unwrap_or(0i32),
|
1387 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
911 1388 | }
|
1389 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
912 1390 | }
|
1391 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
913 1392 | }
|
1393 + |
|
1394 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
914 1395 | }
|
915 - | /// See [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
1396 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
916 1397 | pub mod string_payload_output {
|
917 1398 |
|
1399 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
918 1400 | impl ::std::convert::From<Builder> for crate::output::StringPayloadOutput {
|
919 1401 | fn from(builder: Builder) -> Self {
|
920 1402 | builder.build()
|
921 1403 | }
|
922 1404 | }
|
923 - | /// A builder for [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
1405 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
1406 + | /* RustType.kt:516 */
|
924 1407 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
1408 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
925 1409 | pub struct Builder {
|
1410 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
926 1411 | pub(crate) payload: ::std::option::Option<::std::string::String>,
|
1412 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
927 1413 | }
|
1414 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
928 1415 | impl Builder {
|
1416 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
929 1417 | #[allow(missing_docs)] // documentation missing in model
|
1418 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
930 1419 | pub fn payload(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
931 - | self.payload = input;
|
1420 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
1421 + | self.payload =
|
1422 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
1423 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
932 1424 | self
|
1425 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
933 1426 | }
|
934 - | /// Consumes the builder and constructs a [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
1427 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`StringPayloadOutput`](crate::output::StringPayloadOutput).
|
1428 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
935 1429 | pub fn build(self) -> crate::output::StringPayloadOutput {
|
936 1430 | self.build_enforcing_required_and_enum_traits()
|
937 1431 | }
|
1432 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
938 1433 | fn build_enforcing_required_and_enum_traits(self) -> crate::output::StringPayloadOutput {
|
1434 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
939 1435 | crate::output::StringPayloadOutput {
|
1436 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
940 1437 | payload: self.payload,
|
1438 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
941 1439 | }
|
1440 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
942 1441 | }
|
1442 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
943 1443 | }
|
1444 + |
|
1445 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
944 1446 | }
|