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