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 RpcEchoOutput {}
|
12 + | pub /* StructureGenerator.kt:201 */ struct RpcEchoOutput {/* 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 RpcEchoOutput {
|
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<RpcEchoOutput> {
|
25 34 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
26 35 | ob.extract::<RpcEchoOutput>().map(Box::new)
|
27 36 | }
|
28 37 | }
|
29 38 |
|
30 39 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<RpcEchoOutput> {
|
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 RpcEchoOutput {
|
36 - | /// Creates a new builder-style object to manufacture [`RpcEchoOutput`](crate::output::RpcEchoOutput).
|
46 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`RpcEchoOutput`](crate::output::RpcEchoOutput).
|
47 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
37 48 | pub fn builder() -> crate::output::rpc_echo_output::Builder {
|
49 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
38 50 | crate::output::rpc_echo_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 | /// :rtype None:
|
60 + | /* StructureGenerator.kt:197 */
|
44 61 | #[allow(missing_docs)] // documentation missing in model
|
62 + | /* RustType.kt:516 */
|
45 63 | #[derive(
|
46 64 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
47 65 | )]
|
48 - | pub struct MatchOutput {}
|
66 + | pub /* StructureGenerator.kt:201 */ struct MatchOutput {/* StructureGenerator.kt:201 */}
|
67 + | /* RustType.kt:516 */
|
49 68 | #[allow(clippy::new_without_default)]
|
69 + | /* RustType.kt:516 */
|
50 70 | #[allow(clippy::too_many_arguments)]
|
71 + | /* RustType.kt:516 */
|
51 72 | #[::pyo3::pymethods]
|
73 + | /* PythonServerStructureGenerator.kt:88 */
|
52 74 | impl MatchOutput {
|
53 75 | #[new]
|
54 76 | pub fn new() -> Self {
|
55 77 | Self {}
|
56 78 | }
|
57 79 | fn __repr__(&self) -> String {
|
58 80 | format!("{self:?}")
|
59 81 | }
|
60 82 | fn __str__(&self) -> String {
|
61 83 | format!("{self:?}")
|
62 84 | }
|
63 85 | }
|
86 + | /* PythonServerStructureGenerator.kt:111 */
|
64 87 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<MatchOutput> {
|
65 88 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
66 89 | ob.extract::<MatchOutput>().map(Box::new)
|
67 90 | }
|
68 91 | }
|
69 92 |
|
70 93 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<MatchOutput> {
|
71 94 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
72 95 | (*self).into_py(py)
|
73 96 | }
|
74 97 | }
|
98 + | /* ServerCodegenVisitor.kt:370 */
|
75 99 | impl MatchOutput {
|
76 - | /// Creates a new builder-style object to manufacture [`MatchOutput`](crate::output::MatchOutput).
|
100 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`MatchOutput`](crate::output::MatchOutput).
|
101 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
77 102 | pub fn builder() -> crate::output::match_output::Builder {
|
103 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
78 104 | crate::output::match_output::Builder::default()
|
105 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
79 106 | }
|
107 + | /* ServerCodegenVisitor.kt:370 */
|
80 108 | }
|
81 109 |
|
110 + | /* RustType.kt:516 */
|
82 111 | #[::pyo3::pyclass]
|
112 + | /* PythonServerStructureGenerator.kt:63 */
|
83 113 | /// :rtype None:
|
114 + | /* StructureGenerator.kt:197 */
|
84 115 | #[allow(missing_docs)] // documentation missing in model
|
116 + | /* RustType.kt:516 */
|
85 117 | #[derive(
|
86 118 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
87 119 | )]
|
88 - | pub struct OptionOutput {}
|
120 + | pub /* StructureGenerator.kt:201 */ struct OptionOutput {/* StructureGenerator.kt:201 */}
|
121 + | /* RustType.kt:516 */
|
89 122 | #[allow(clippy::new_without_default)]
|
123 + | /* RustType.kt:516 */
|
90 124 | #[allow(clippy::too_many_arguments)]
|
125 + | /* RustType.kt:516 */
|
91 126 | #[::pyo3::pymethods]
|
127 + | /* PythonServerStructureGenerator.kt:88 */
|
92 128 | impl OptionOutput {
|
93 129 | #[new]
|
94 130 | pub fn new() -> Self {
|
95 131 | Self {}
|
96 132 | }
|
97 133 | fn __repr__(&self) -> String {
|
98 134 | format!("{self:?}")
|
99 135 | }
|
100 136 | fn __str__(&self) -> String {
|
101 137 | format!("{self:?}")
|
102 138 | }
|
103 139 | }
|
140 + | /* PythonServerStructureGenerator.kt:111 */
|
104 141 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<OptionOutput> {
|
105 142 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
106 143 | ob.extract::<OptionOutput>().map(Box::new)
|
107 144 | }
|
108 145 | }
|
109 146 |
|
110 147 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<OptionOutput> {
|
111 148 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
112 149 | (*self).into_py(py)
|
113 150 | }
|
114 151 | }
|
152 + | /* ServerCodegenVisitor.kt:370 */
|
115 153 | impl OptionOutput {
|
116 - | /// Creates a new builder-style object to manufacture [`OptionOutput`](crate::output::OptionOutput).
|
154 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`OptionOutput`](crate::output::OptionOutput).
|
155 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
117 156 | pub fn builder() -> crate::output::option_output::Builder {
|
157 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
118 158 | crate::output::option_output::Builder::default()
|
159 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
119 160 | }
|
161 + | /* ServerCodegenVisitor.kt:370 */
|
120 162 | }
|
121 163 |
|
164 + | /* RustType.kt:516 */
|
122 165 | #[::pyo3::pyclass]
|
166 + | /* PythonServerStructureGenerator.kt:63 */
|
123 167 | /// :param pv_member typing.Optional\[bool\]:
|
124 168 | /// :rtype None:
|
169 + | /* StructureGenerator.kt:197 */
|
125 170 | #[allow(missing_docs)] // documentation missing in model
|
171 + | /* RustType.kt:516 */
|
126 172 | #[derive(
|
127 173 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
128 174 | )]
|
129 - | pub struct ResultOutput {
|
175 + | pub /* StructureGenerator.kt:201 */ struct ResultOutput {
|
176 + | /* RustType.kt:516 */
|
130 177 | #[pyo3(get, set)]
|
178 + | /* PythonServerStructureGenerator.kt:80 */
|
131 179 | /// :type typing.Optional\[bool\]:
|
180 + | /* StructureGenerator.kt:231 */
|
132 181 | #[allow(missing_docs)] // documentation missing in model
|
133 182 | pub pv_member: ::std::option::Option<bool>,
|
183 + | /* StructureGenerator.kt:201 */
|
134 184 | }
|
185 + | /* StructureGenerator.kt:135 */
|
135 186 | impl ResultOutput {
|
187 + | /* StructureGenerator.kt:231 */
|
136 188 | #[allow(missing_docs)] // documentation missing in model
|
189 + | /* StructureGenerator.kt:166 */
|
137 190 | pub fn pv_member(&self) -> ::std::option::Option<bool> {
|
191 + | /* StructureGenerator.kt:168 */
|
138 192 | self.pv_member
|
193 + | /* StructureGenerator.kt:166 */
|
139 194 | }
|
195 + | /* StructureGenerator.kt:135 */
|
140 196 | }
|
197 + | /* RustType.kt:516 */
|
141 198 | #[allow(clippy::new_without_default)]
|
199 + | /* RustType.kt:516 */
|
142 200 | #[allow(clippy::too_many_arguments)]
|
201 + | /* RustType.kt:516 */
|
143 202 | #[::pyo3::pymethods]
|
203 + | /* PythonServerStructureGenerator.kt:88 */
|
144 204 | impl ResultOutput {
|
145 205 | #[new]
|
146 206 | pub fn new(pv_member: ::std::option::Option<bool>) -> Self {
|
147 207 | Self { pv_member }
|
148 208 | }
|
149 209 | fn __repr__(&self) -> String {
|
150 210 | format!("{self:?}")
|
151 211 | }
|
152 212 | fn __str__(&self) -> String {
|
153 213 | format!("{self:?}")
|
154 214 | }
|
155 215 | }
|
216 + | /* PythonServerStructureGenerator.kt:111 */
|
156 217 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<ResultOutput> {
|
157 218 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
158 219 | ob.extract::<ResultOutput>().map(Box::new)
|
159 220 | }
|
160 221 | }
|
161 222 |
|
162 223 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ResultOutput> {
|
163 224 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
164 225 | (*self).into_py(py)
|
165 226 | }
|
166 227 | }
|
228 + | /* ServerCodegenVisitor.kt:370 */
|
167 229 | impl ResultOutput {
|
168 - | /// Creates a new builder-style object to manufacture [`ResultOutput`](crate::output::ResultOutput).
|
230 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`ResultOutput`](crate::output::ResultOutput).
|
231 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
169 232 | pub fn builder() -> crate::output::result_output::Builder {
|
233 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
170 234 | crate::output::result_output::Builder::default()
|
235 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
171 236 | }
|
237 + | /* ServerCodegenVisitor.kt:370 */
|
172 238 | }
|
173 239 |
|
240 + | /* RustType.kt:516 */
|
174 241 | #[::pyo3::pyclass]
|
242 + | /* PythonServerStructureGenerator.kt:63 */
|
175 243 | /// :rtype None:
|
244 + | /* StructureGenerator.kt:197 */
|
176 245 | #[allow(missing_docs)] // documentation missing in model
|
246 + | /* RustType.kt:516 */
|
177 247 | #[derive(
|
178 248 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
179 249 | )]
|
180 - | pub struct ErrCollisionsOutput {}
|
250 + | pub /* StructureGenerator.kt:201 */ struct ErrCollisionsOutput {/* StructureGenerator.kt:201 */}
|
251 + | /* RustType.kt:516 */
|
181 252 | #[allow(clippy::new_without_default)]
|
253 + | /* RustType.kt:516 */
|
182 254 | #[allow(clippy::too_many_arguments)]
|
255 + | /* RustType.kt:516 */
|
183 256 | #[::pyo3::pymethods]
|
257 + | /* PythonServerStructureGenerator.kt:88 */
|
184 258 | impl ErrCollisionsOutput {
|
185 259 | #[new]
|
186 260 | pub fn new() -> Self {
|
187 261 | Self {}
|
188 262 | }
|
189 263 | fn __repr__(&self) -> String {
|
190 264 | format!("{self:?}")
|
191 265 | }
|
192 266 | fn __str__(&self) -> String {
|
193 267 | format!("{self:?}")
|
194 268 | }
|
195 269 | }
|
270 + | /* PythonServerStructureGenerator.kt:111 */
|
196 271 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<ErrCollisionsOutput> {
|
197 272 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
198 273 | ob.extract::<ErrCollisionsOutput>().map(Box::new)
|
199 274 | }
|
200 275 | }
|
201 276 |
|
202 277 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ErrCollisionsOutput> {
|
203 278 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
204 279 | (*self).into_py(py)
|
205 280 | }
|
206 281 | }
|
282 + | /* ServerCodegenVisitor.kt:370 */
|
207 283 | impl ErrCollisionsOutput {
|
208 - | /// Creates a new builder-style object to manufacture [`ErrCollisionsOutput`](crate::output::ErrCollisionsOutput).
|
284 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`ErrCollisionsOutput`](crate::output::ErrCollisionsOutput).
|
285 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
209 286 | pub fn builder() -> crate::output::err_collisions_output::Builder {
|
287 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
210 288 | crate::output::err_collisions_output::Builder::default()
|
289 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
211 290 | }
|
291 + | /* ServerCodegenVisitor.kt:370 */
|
212 292 | }
|
213 293 |
|
294 + | /* RustType.kt:516 */
|
214 295 | #[::pyo3::pyclass]
|
296 + | /* PythonServerStructureGenerator.kt:63 */
|
215 297 | /// :rtype None:
|
298 + | /* StructureGenerator.kt:197 */
|
216 299 | #[allow(missing_docs)] // documentation missing in model
|
300 + | /* RustType.kt:516 */
|
217 301 | #[derive(
|
218 302 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
219 303 | )]
|
220 - | pub struct StructureNamePunningOutput {}
|
304 + | pub /* StructureGenerator.kt:201 */ struct StructureNamePunningOutput {/* StructureGenerator.kt:201 */}
|
305 + | /* RustType.kt:516 */
|
221 306 | #[allow(clippy::new_without_default)]
|
307 + | /* RustType.kt:516 */
|
222 308 | #[allow(clippy::too_many_arguments)]
|
309 + | /* RustType.kt:516 */
|
223 310 | #[::pyo3::pymethods]
|
311 + | /* PythonServerStructureGenerator.kt:88 */
|
224 312 | impl StructureNamePunningOutput {
|
225 313 | #[new]
|
226 314 | pub fn new() -> Self {
|
227 315 | Self {}
|
228 316 | }
|
229 317 | fn __repr__(&self) -> String {
|
230 318 | format!("{self:?}")
|
231 319 | }
|
232 320 | fn __str__(&self) -> String {
|
233 321 | format!("{self:?}")
|
234 322 | }
|
235 323 | }
|
324 + | /* PythonServerStructureGenerator.kt:111 */
|
236 325 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<StructureNamePunningOutput> {
|
237 326 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
238 327 | ob.extract::<StructureNamePunningOutput>().map(Box::new)
|
239 328 | }
|
240 329 | }
|
241 330 |
|
242 331 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<StructureNamePunningOutput> {
|
243 332 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
244 333 | (*self).into_py(py)
|
245 334 | }
|
246 335 | }
|
336 + | /* ServerCodegenVisitor.kt:370 */
|
247 337 | impl StructureNamePunningOutput {
|
248 - | /// Creates a new builder-style object to manufacture [`StructureNamePunningOutput`](crate::output::StructureNamePunningOutput).
|
338 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`StructureNamePunningOutput`](crate::output::StructureNamePunningOutput).
|
339 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
249 340 | pub fn builder() -> crate::output::structure_name_punning_output::Builder {
|
341 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
250 342 | crate::output::structure_name_punning_output::Builder::default()
|
343 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
251 344 | }
|
345 + | /* ServerCodegenVisitor.kt:370 */
|
252 346 | }
|
253 347 |
|
348 + | /* RustType.kt:516 */
|
254 349 | #[::pyo3::pyclass]
|
350 + | /* PythonServerStructureGenerator.kt:63 */
|
255 351 | /// :rtype None:
|
352 + | /* StructureGenerator.kt:197 */
|
256 353 | #[allow(missing_docs)] // documentation missing in model
|
354 + | /* RustType.kt:516 */
|
257 355 | #[derive(
|
258 356 | ::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::PartialEq, ::std::fmt::Debug, ::std::hash::Hash,
|
259 357 | )]
|
260 - | pub struct ReservedWordsAsMembersOutput {}
|
358 + | pub /* StructureGenerator.kt:201 */ struct ReservedWordsAsMembersOutput {/* StructureGenerator.kt:201 */}
|
359 + | /* RustType.kt:516 */
|
261 360 | #[allow(clippy::new_without_default)]
|
361 + | /* RustType.kt:516 */
|
262 362 | #[allow(clippy::too_many_arguments)]
|
363 + | /* RustType.kt:516 */
|
263 364 | #[::pyo3::pymethods]
|
365 + | /* PythonServerStructureGenerator.kt:88 */
|
264 366 | impl ReservedWordsAsMembersOutput {
|
265 367 | #[new]
|
266 368 | pub fn new() -> Self {
|
267 369 | Self {}
|
268 370 | }
|
269 371 | fn __repr__(&self) -> String {
|
270 372 | format!("{self:?}")
|
271 373 | }
|
272 374 | fn __str__(&self) -> String {
|
273 375 | format!("{self:?}")
|
274 376 | }
|
275 377 | }
|
378 + | /* PythonServerStructureGenerator.kt:111 */
|
276 379 | impl<'source> ::pyo3::FromPyObject<'source> for std::boxed::Box<ReservedWordsAsMembersOutput> {
|
277 380 | fn extract(ob: &'source ::pyo3::PyAny) -> ::pyo3::PyResult<Self> {
|
278 381 | ob.extract::<ReservedWordsAsMembersOutput>().map(Box::new)
|
279 382 | }
|
280 383 | }
|
281 384 |
|
282 385 | impl ::pyo3::IntoPy<::pyo3::PyObject> for std::boxed::Box<ReservedWordsAsMembersOutput> {
|
283 386 | fn into_py(self, py: ::pyo3::Python<'_>) -> ::pyo3::PyObject {
|
284 387 | (*self).into_py(py)
|
285 388 | }
|
286 389 | }
|
390 + | /* ServerCodegenVisitor.kt:370 */
|
287 391 | impl ReservedWordsAsMembersOutput {
|
288 - | /// Creates a new builder-style object to manufacture [`ReservedWordsAsMembersOutput`](crate::output::ReservedWordsAsMembersOutput).
|
392 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:211 */Creates a new builder-style object to manufacture [`ReservedWordsAsMembersOutput`](crate::output::ReservedWordsAsMembersOutput).
|
393 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
289 394 | pub fn builder() -> crate::output::reserved_words_as_members_output::Builder {
|
395 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:213 */
|
290 396 | crate::output::reserved_words_as_members_output::Builder::default()
|
397 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:212 */
|
291 398 | }
|
399 + | /* ServerCodegenVisitor.kt:370 */
|
292 400 | }
|
293 - | /// See [`RpcEchoOutput`](crate::output::RpcEchoOutput).
|
401 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`RpcEchoOutput`](crate::output::RpcEchoOutput).
|
294 402 | pub mod rpc_echo_output {
|
295 403 |
|
404 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
296 405 | impl ::std::convert::From<Builder> for crate::output::RpcEchoOutput {
|
297 406 | fn from(builder: Builder) -> Self {
|
298 407 | builder.build()
|
299 408 | }
|
300 409 | }
|
301 - | /// A builder for [`RpcEchoOutput`](crate::output::RpcEchoOutput).
|
410 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`RpcEchoOutput`](crate::output::RpcEchoOutput).
|
411 + | /* RustType.kt:516 */
|
302 412 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
303 - | pub struct Builder {}
|
413 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
414 + | pub struct Builder {/* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */}
|
415 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
304 416 | impl Builder {
|
305 - | /// Consumes the builder and constructs a [`RpcEchoOutput`](crate::output::RpcEchoOutput).
|
417 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`RpcEchoOutput`](crate::output::RpcEchoOutput).
|
418 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
306 419 | pub fn build(self) -> crate::output::RpcEchoOutput {
|
307 420 | self.build_enforcing_required_and_enum_traits()
|
308 421 | }
|
422 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
309 423 | fn build_enforcing_required_and_enum_traits(self) -> crate::output::RpcEchoOutput {
|
310 - | crate::output::RpcEchoOutput {}
|
424 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
425 + | crate::output::RpcEchoOutput {
|
426 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */}
|
427 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
311 428 | }
|
429 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
312 430 | }
|
431 + |
|
432 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
313 433 | }
|
314 - | /// See [`MatchOutput`](crate::output::MatchOutput).
|
434 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`MatchOutput`](crate::output::MatchOutput).
|
315 435 | pub mod match_output {
|
316 436 |
|
437 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
317 438 | impl ::std::convert::From<Builder> for crate::output::MatchOutput {
|
318 439 | fn from(builder: Builder) -> Self {
|
319 440 | builder.build()
|
320 441 | }
|
321 442 | }
|
322 - | /// A builder for [`MatchOutput`](crate::output::MatchOutput).
|
443 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`MatchOutput`](crate::output::MatchOutput).
|
444 + | /* RustType.kt:516 */
|
323 445 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
324 - | pub struct Builder {}
|
446 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
447 + | pub struct Builder {/* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */}
|
448 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
325 449 | impl Builder {
|
326 - | /// Consumes the builder and constructs a [`MatchOutput`](crate::output::MatchOutput).
|
450 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`MatchOutput`](crate::output::MatchOutput).
|
451 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
327 452 | pub fn build(self) -> crate::output::MatchOutput {
|
328 453 | self.build_enforcing_required_and_enum_traits()
|
329 454 | }
|
455 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
330 456 | fn build_enforcing_required_and_enum_traits(self) -> crate::output::MatchOutput {
|
331 - | crate::output::MatchOutput {}
|
457 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
458 + | crate::output::MatchOutput {
|
459 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */}
|
460 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
332 461 | }
|
462 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
333 463 | }
|
464 + |
|
465 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
334 466 | }
|
335 - | /// See [`OptionOutput`](crate::output::OptionOutput).
|
467 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`OptionOutput`](crate::output::OptionOutput).
|
336 468 | pub mod option_output {
|
337 469 |
|
470 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
338 471 | impl ::std::convert::From<Builder> for crate::output::OptionOutput {
|
339 472 | fn from(builder: Builder) -> Self {
|
340 473 | builder.build()
|
341 474 | }
|
342 475 | }
|
343 - | /// A builder for [`OptionOutput`](crate::output::OptionOutput).
|
476 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`OptionOutput`](crate::output::OptionOutput).
|
477 + | /* RustType.kt:516 */
|
344 478 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
345 - | pub struct Builder {}
|
479 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
480 + | pub struct Builder {/* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */}
|
481 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
346 482 | impl Builder {
|
347 - | /// Consumes the builder and constructs a [`OptionOutput`](crate::output::OptionOutput).
|
483 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`OptionOutput`](crate::output::OptionOutput).
|
484 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
348 485 | pub fn build(self) -> crate::output::OptionOutput {
|
349 486 | self.build_enforcing_required_and_enum_traits()
|
350 487 | }
|
488 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
351 489 | fn build_enforcing_required_and_enum_traits(self) -> crate::output::OptionOutput {
|
352 - | crate::output::OptionOutput {}
|
490 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
491 + | crate::output::OptionOutput {
|
492 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */}
|
493 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
353 494 | }
|
495 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
354 496 | }
|
497 + |
|
498 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
355 499 | }
|
356 - | /// See [`ResultOutput`](crate::output::ResultOutput).
|
500 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`ResultOutput`](crate::output::ResultOutput).
|
357 501 | pub mod result_output {
|
358 502 |
|
503 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
359 504 | impl ::std::convert::From<Builder> for crate::output::ResultOutput {
|
360 505 | fn from(builder: Builder) -> Self {
|
361 506 | builder.build()
|
362 507 | }
|
363 508 | }
|
364 - | /// A builder for [`ResultOutput`](crate::output::ResultOutput).
|
509 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`ResultOutput`](crate::output::ResultOutput).
|
510 + | /* RustType.kt:516 */
|
365 511 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
512 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
366 513 | pub struct Builder {
|
514 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:225 */
|
367 515 | pub(crate) pv_member: ::std::option::Option<bool>,
|
516 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
368 517 | }
|
518 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
369 519 | impl Builder {
|
520 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:241 */
|
370 521 | #[allow(missing_docs)] // documentation missing in model
|
522 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
371 523 | pub fn pv_member(mut self, input: ::std::option::Option<bool>) -> Self {
|
372 - | self.pv_member = input;
|
524 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */
|
525 + | self.pv_member =
|
526 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:247 */input
|
527 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:245 */;
|
373 528 | self
|
529 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:244 */
|
374 530 | }
|
375 - | /// Consumes the builder and constructs a [`ResultOutput`](crate::output::ResultOutput).
|
531 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`ResultOutput`](crate::output::ResultOutput).
|
532 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
376 533 | pub fn build(self) -> crate::output::ResultOutput {
|
377 534 | self.build_enforcing_required_and_enum_traits()
|
378 535 | }
|
536 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
379 537 | fn build_enforcing_required_and_enum_traits(self) -> crate::output::ResultOutput {
|
538 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
380 539 | crate::output::ResultOutput {
|
540 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:186 */
|
381 541 | pv_member: self.pv_member,
|
542 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
382 543 | }
|
544 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
383 545 | }
|
546 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
384 547 | }
|
548 + |
|
549 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
385 550 | }
|
386 - | /// See [`ErrCollisionsOutput`](crate::output::ErrCollisionsOutput).
|
551 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`ErrCollisionsOutput`](crate::output::ErrCollisionsOutput).
|
387 552 | pub mod err_collisions_output {
|
388 553 |
|
554 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
389 555 | impl ::std::convert::From<Builder> for crate::output::ErrCollisionsOutput {
|
390 556 | fn from(builder: Builder) -> Self {
|
391 557 | builder.build()
|
392 558 | }
|
393 559 | }
|
394 - | /// A builder for [`ErrCollisionsOutput`](crate::output::ErrCollisionsOutput).
|
560 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`ErrCollisionsOutput`](crate::output::ErrCollisionsOutput).
|
561 + | /* RustType.kt:516 */
|
395 562 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
396 - | pub struct Builder {}
|
563 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
564 + | pub struct Builder {/* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */}
|
565 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
397 566 | impl Builder {
|
398 - | /// Consumes the builder and constructs a [`ErrCollisionsOutput`](crate::output::ErrCollisionsOutput).
|
567 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`ErrCollisionsOutput`](crate::output::ErrCollisionsOutput).
|
568 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
399 569 | pub fn build(self) -> crate::output::ErrCollisionsOutput {
|
400 570 | self.build_enforcing_required_and_enum_traits()
|
401 571 | }
|
572 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
402 573 | fn build_enforcing_required_and_enum_traits(self) -> crate::output::ErrCollisionsOutput {
|
403 - | crate::output::ErrCollisionsOutput {}
|
574 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
575 + | crate::output::ErrCollisionsOutput {
|
576 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */}
|
577 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
404 578 | }
|
579 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
405 580 | }
|
581 + |
|
582 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
406 583 | }
|
407 - | /// See [`StructureNamePunningOutput`](crate::output::StructureNamePunningOutput).
|
584 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`StructureNamePunningOutput`](crate::output::StructureNamePunningOutput).
|
408 585 | pub mod structure_name_punning_output {
|
409 586 |
|
587 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
410 588 | impl ::std::convert::From<Builder> for crate::output::StructureNamePunningOutput {
|
411 589 | fn from(builder: Builder) -> Self {
|
412 590 | builder.build()
|
413 591 | }
|
414 592 | }
|
415 - | /// A builder for [`StructureNamePunningOutput`](crate::output::StructureNamePunningOutput).
|
593 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`StructureNamePunningOutput`](crate::output::StructureNamePunningOutput).
|
594 + | /* RustType.kt:516 */
|
416 595 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
417 - | pub struct Builder {}
|
596 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
597 + | pub struct Builder {/* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */}
|
598 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
418 599 | impl Builder {
|
419 - | /// Consumes the builder and constructs a [`StructureNamePunningOutput`](crate::output::StructureNamePunningOutput).
|
600 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`StructureNamePunningOutput`](crate::output::StructureNamePunningOutput).
|
601 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
420 602 | pub fn build(self) -> crate::output::StructureNamePunningOutput {
|
421 603 | self.build_enforcing_required_and_enum_traits()
|
422 604 | }
|
605 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
423 606 | fn build_enforcing_required_and_enum_traits(
|
424 607 | self,
|
425 608 | ) -> crate::output::StructureNamePunningOutput {
|
426 - | crate::output::StructureNamePunningOutput {}
|
609 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
610 + | crate::output::StructureNamePunningOutput {
|
611 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */}
|
612 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
427 613 | }
|
614 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
428 615 | }
|
616 + |
|
617 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
429 618 | }
|
430 - | /// See [`ReservedWordsAsMembersOutput`](crate::output::ReservedWordsAsMembersOutput).
|
619 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:110 */See [`ReservedWordsAsMembersOutput`](crate::output::ReservedWordsAsMembersOutput).
|
431 620 | pub mod reserved_words_as_members_output {
|
432 621 |
|
622 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:269 */
|
433 623 | impl ::std::convert::From<Builder> for crate::output::ReservedWordsAsMembersOutput {
|
434 624 | fn from(builder: Builder) -> Self {
|
435 625 | builder.build()
|
436 626 | }
|
437 627 | }
|
438 - | /// A builder for [`ReservedWordsAsMembersOutput`](crate::output::ReservedWordsAsMembersOutput).
|
628 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:130 */A builder for [`ReservedWordsAsMembersOutput`](crate::output::ReservedWordsAsMembersOutput).
|
629 + | /* RustType.kt:516 */
|
439 630 | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
440 - | pub struct Builder {}
|
631 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */
|
632 + | pub struct Builder {/* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:137 */}
|
633 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
441 634 | impl Builder {
|
442 - | /// Consumes the builder and constructs a [`ReservedWordsAsMembersOutput`](crate::output::ReservedWordsAsMembersOutput).
|
635 + | /// /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:150 */Consumes the builder and constructs a [`ReservedWordsAsMembersOutput`](crate::output::ReservedWordsAsMembersOutput).
|
636 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:159 */
|
443 637 | pub fn build(self) -> crate::output::ReservedWordsAsMembersOutput {
|
444 638 | self.build_enforcing_required_and_enum_traits()
|
445 639 | }
|
640 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
446 641 | fn build_enforcing_required_and_enum_traits(
|
447 642 | self,
|
448 643 | ) -> crate::output::ReservedWordsAsMembersOutput {
|
449 - | crate::output::ReservedWordsAsMembersOutput {}
|
644 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */
|
645 + | crate::output::ReservedWordsAsMembersOutput {
|
646 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:182 */}
|
647 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:171 */
|
450 648 | }
|
649 + | /* ServerBuilderGeneratorWithoutPublicConstrainedTypes.kt:141 */
|
451 650 | }
|
651 + |
|
652 + | /* RustCrateInlineModuleComposingWriter.kt:299 */
|
452 653 | }
|