1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::Authentication {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("Authentication");
23 debug_struct.field("rules", &self.rules);
24 debug_struct.field("providers", &self.providers);
25 if !self._unknown_fields.is_empty() {
26 debug_struct.field("_unknown_fields", &self._unknown_fields);
27 }
28 debug_struct.finish()
29 }
30}
31
32impl std::fmt::Debug for super::AuthenticationRule {
33 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
34 let mut debug_struct = f.debug_struct("AuthenticationRule");
35 debug_struct.field("selector", &self.selector);
36 debug_struct.field("oauth", &self.oauth);
37 debug_struct.field("allow_without_credential", &self.allow_without_credential);
38 debug_struct.field("requirements", &self.requirements);
39 if !self._unknown_fields.is_empty() {
40 debug_struct.field("_unknown_fields", &self._unknown_fields);
41 }
42 debug_struct.finish()
43 }
44}
45
46impl std::fmt::Debug for super::JwtLocation {
47 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
48 let mut debug_struct = f.debug_struct("JwtLocation");
49 debug_struct.field("value_prefix", &self.value_prefix);
50 debug_struct.field("r#in", &self.r#in);
51 if !self._unknown_fields.is_empty() {
52 debug_struct.field("_unknown_fields", &self._unknown_fields);
53 }
54 debug_struct.finish()
55 }
56}
57
58impl std::fmt::Debug for super::AuthProvider {
59 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
60 let mut debug_struct = f.debug_struct("AuthProvider");
61 debug_struct.field("id", &self.id);
62 debug_struct.field("issuer", &self.issuer);
63 debug_struct.field("jwks_uri", &self.jwks_uri);
64 debug_struct.field("audiences", &self.audiences);
65 debug_struct.field("authorization_url", &self.authorization_url);
66 debug_struct.field("jwt_locations", &self.jwt_locations);
67 if !self._unknown_fields.is_empty() {
68 debug_struct.field("_unknown_fields", &self._unknown_fields);
69 }
70 debug_struct.finish()
71 }
72}
73
74impl std::fmt::Debug for super::OAuthRequirements {
75 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
76 let mut debug_struct = f.debug_struct("OAuthRequirements");
77 debug_struct.field("canonical_scopes", &self.canonical_scopes);
78 if !self._unknown_fields.is_empty() {
79 debug_struct.field("_unknown_fields", &self._unknown_fields);
80 }
81 debug_struct.finish()
82 }
83}
84
85impl std::fmt::Debug for super::AuthRequirement {
86 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
87 let mut debug_struct = f.debug_struct("AuthRequirement");
88 debug_struct.field("provider_id", &self.provider_id);
89 debug_struct.field("audiences", &self.audiences);
90 if !self._unknown_fields.is_empty() {
91 debug_struct.field("_unknown_fields", &self._unknown_fields);
92 }
93 debug_struct.finish()
94 }
95}
96
97impl std::fmt::Debug for super::Backend {
98 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
99 let mut debug_struct = f.debug_struct("Backend");
100 debug_struct.field("rules", &self.rules);
101 if !self._unknown_fields.is_empty() {
102 debug_struct.field("_unknown_fields", &self._unknown_fields);
103 }
104 debug_struct.finish()
105 }
106}
107
108impl std::fmt::Debug for super::BackendRule {
109 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
110 let mut debug_struct = f.debug_struct("BackendRule");
111 debug_struct.field("selector", &self.selector);
112 debug_struct.field("address", &self.address);
113 debug_struct.field("deadline", &self.deadline);
114 debug_struct.field("min_deadline", &self.min_deadline);
115 debug_struct.field("operation_deadline", &self.operation_deadline);
116 debug_struct.field("path_translation", &self.path_translation);
117 debug_struct.field("protocol", &self.protocol);
118 debug_struct.field(
119 "overrides_by_request_protocol",
120 &self.overrides_by_request_protocol,
121 );
122 debug_struct.field("load_balancing_policy", &self.load_balancing_policy);
123 debug_struct.field("authentication", &self.authentication);
124 if !self._unknown_fields.is_empty() {
125 debug_struct.field("_unknown_fields", &self._unknown_fields);
126 }
127 debug_struct.finish()
128 }
129}
130
131impl std::fmt::Debug for super::Billing {
132 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
133 let mut debug_struct = f.debug_struct("Billing");
134 debug_struct.field("consumer_destinations", &self.consumer_destinations);
135 if !self._unknown_fields.is_empty() {
136 debug_struct.field("_unknown_fields", &self._unknown_fields);
137 }
138 debug_struct.finish()
139 }
140}
141
142impl std::fmt::Debug for super::billing::BillingDestination {
143 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
144 let mut debug_struct = f.debug_struct("BillingDestination");
145 debug_struct.field("monitored_resource", &self.monitored_resource);
146 debug_struct.field("metrics", &self.metrics);
147 if !self._unknown_fields.is_empty() {
148 debug_struct.field("_unknown_fields", &self._unknown_fields);
149 }
150 debug_struct.finish()
151 }
152}
153
154impl std::fmt::Debug for super::CommonLanguageSettings {
155 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
156 let mut debug_struct = f.debug_struct("CommonLanguageSettings");
157 debug_struct.field("reference_docs_uri", &self.reference_docs_uri);
158 debug_struct.field("destinations", &self.destinations);
159 debug_struct.field(
160 "selective_gapic_generation",
161 &self.selective_gapic_generation,
162 );
163 if !self._unknown_fields.is_empty() {
164 debug_struct.field("_unknown_fields", &self._unknown_fields);
165 }
166 debug_struct.finish()
167 }
168}
169
170impl std::fmt::Debug for super::ClientLibrarySettings {
171 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
172 let mut debug_struct = f.debug_struct("ClientLibrarySettings");
173 debug_struct.field("version", &self.version);
174 debug_struct.field("launch_stage", &self.launch_stage);
175 debug_struct.field("rest_numeric_enums", &self.rest_numeric_enums);
176 debug_struct.field("java_settings", &self.java_settings);
177 debug_struct.field("cpp_settings", &self.cpp_settings);
178 debug_struct.field("php_settings", &self.php_settings);
179 debug_struct.field("python_settings", &self.python_settings);
180 debug_struct.field("node_settings", &self.node_settings);
181 debug_struct.field("dotnet_settings", &self.dotnet_settings);
182 debug_struct.field("ruby_settings", &self.ruby_settings);
183 debug_struct.field("go_settings", &self.go_settings);
184 if !self._unknown_fields.is_empty() {
185 debug_struct.field("_unknown_fields", &self._unknown_fields);
186 }
187 debug_struct.finish()
188 }
189}
190
191impl std::fmt::Debug for super::Publishing {
192 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
193 let mut debug_struct = f.debug_struct("Publishing");
194 debug_struct.field("method_settings", &self.method_settings);
195 debug_struct.field("new_issue_uri", &self.new_issue_uri);
196 debug_struct.field("documentation_uri", &self.documentation_uri);
197 debug_struct.field("api_short_name", &self.api_short_name);
198 debug_struct.field("github_label", &self.github_label);
199 debug_struct.field("codeowner_github_teams", &self.codeowner_github_teams);
200 debug_struct.field("doc_tag_prefix", &self.doc_tag_prefix);
201 debug_struct.field("organization", &self.organization);
202 debug_struct.field("library_settings", &self.library_settings);
203 debug_struct.field(
204 "proto_reference_documentation_uri",
205 &self.proto_reference_documentation_uri,
206 );
207 debug_struct.field(
208 "rest_reference_documentation_uri",
209 &self.rest_reference_documentation_uri,
210 );
211 if !self._unknown_fields.is_empty() {
212 debug_struct.field("_unknown_fields", &self._unknown_fields);
213 }
214 debug_struct.finish()
215 }
216}
217
218impl std::fmt::Debug for super::JavaSettings {
219 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
220 let mut debug_struct = f.debug_struct("JavaSettings");
221 debug_struct.field("library_package", &self.library_package);
222 debug_struct.field("service_class_names", &self.service_class_names);
223 debug_struct.field("common", &self.common);
224 if !self._unknown_fields.is_empty() {
225 debug_struct.field("_unknown_fields", &self._unknown_fields);
226 }
227 debug_struct.finish()
228 }
229}
230
231impl std::fmt::Debug for super::CppSettings {
232 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
233 let mut debug_struct = f.debug_struct("CppSettings");
234 debug_struct.field("common", &self.common);
235 if !self._unknown_fields.is_empty() {
236 debug_struct.field("_unknown_fields", &self._unknown_fields);
237 }
238 debug_struct.finish()
239 }
240}
241
242impl std::fmt::Debug for super::PhpSettings {
243 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
244 let mut debug_struct = f.debug_struct("PhpSettings");
245 debug_struct.field("common", &self.common);
246 debug_struct.field("library_package", &self.library_package);
247 if !self._unknown_fields.is_empty() {
248 debug_struct.field("_unknown_fields", &self._unknown_fields);
249 }
250 debug_struct.finish()
251 }
252}
253
254impl std::fmt::Debug for super::PythonSettings {
255 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
256 let mut debug_struct = f.debug_struct("PythonSettings");
257 debug_struct.field("common", &self.common);
258 debug_struct.field("experimental_features", &self.experimental_features);
259 if !self._unknown_fields.is_empty() {
260 debug_struct.field("_unknown_fields", &self._unknown_fields);
261 }
262 debug_struct.finish()
263 }
264}
265
266impl std::fmt::Debug for super::python_settings::ExperimentalFeatures {
267 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
268 let mut debug_struct = f.debug_struct("ExperimentalFeatures");
269 debug_struct.field("rest_async_io_enabled", &self.rest_async_io_enabled);
270 debug_struct.field(
271 "protobuf_pythonic_types_enabled",
272 &self.protobuf_pythonic_types_enabled,
273 );
274 debug_struct.field(
275 "unversioned_package_disabled",
276 &self.unversioned_package_disabled,
277 );
278 if !self._unknown_fields.is_empty() {
279 debug_struct.field("_unknown_fields", &self._unknown_fields);
280 }
281 debug_struct.finish()
282 }
283}
284
285impl std::fmt::Debug for super::NodeSettings {
286 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
287 let mut debug_struct = f.debug_struct("NodeSettings");
288 debug_struct.field("common", &self.common);
289 if !self._unknown_fields.is_empty() {
290 debug_struct.field("_unknown_fields", &self._unknown_fields);
291 }
292 debug_struct.finish()
293 }
294}
295
296impl std::fmt::Debug for super::DotnetSettings {
297 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
298 let mut debug_struct = f.debug_struct("DotnetSettings");
299 debug_struct.field("common", &self.common);
300 debug_struct.field("renamed_services", &self.renamed_services);
301 debug_struct.field("renamed_resources", &self.renamed_resources);
302 debug_struct.field("ignored_resources", &self.ignored_resources);
303 debug_struct.field("forced_namespace_aliases", &self.forced_namespace_aliases);
304 debug_struct.field("handwritten_signatures", &self.handwritten_signatures);
305 if !self._unknown_fields.is_empty() {
306 debug_struct.field("_unknown_fields", &self._unknown_fields);
307 }
308 debug_struct.finish()
309 }
310}
311
312impl std::fmt::Debug for super::RubySettings {
313 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
314 let mut debug_struct = f.debug_struct("RubySettings");
315 debug_struct.field("common", &self.common);
316 if !self._unknown_fields.is_empty() {
317 debug_struct.field("_unknown_fields", &self._unknown_fields);
318 }
319 debug_struct.finish()
320 }
321}
322
323impl std::fmt::Debug for super::GoSettings {
324 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
325 let mut debug_struct = f.debug_struct("GoSettings");
326 debug_struct.field("common", &self.common);
327 debug_struct.field("renamed_services", &self.renamed_services);
328 if !self._unknown_fields.is_empty() {
329 debug_struct.field("_unknown_fields", &self._unknown_fields);
330 }
331 debug_struct.finish()
332 }
333}
334
335impl std::fmt::Debug for super::MethodSettings {
336 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
337 let mut debug_struct = f.debug_struct("MethodSettings");
338 debug_struct.field("selector", &self.selector);
339 debug_struct.field("long_running", &self.long_running);
340 debug_struct.field("auto_populated_fields", &self.auto_populated_fields);
341 debug_struct.field("batching", &self.batching);
342 if !self._unknown_fields.is_empty() {
343 debug_struct.field("_unknown_fields", &self._unknown_fields);
344 }
345 debug_struct.finish()
346 }
347}
348
349impl std::fmt::Debug for super::method_settings::LongRunning {
350 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
351 let mut debug_struct = f.debug_struct("LongRunning");
352 debug_struct.field("initial_poll_delay", &self.initial_poll_delay);
353 debug_struct.field("poll_delay_multiplier", &self.poll_delay_multiplier);
354 debug_struct.field("max_poll_delay", &self.max_poll_delay);
355 debug_struct.field("total_poll_timeout", &self.total_poll_timeout);
356 if !self._unknown_fields.is_empty() {
357 debug_struct.field("_unknown_fields", &self._unknown_fields);
358 }
359 debug_struct.finish()
360 }
361}
362
363impl std::fmt::Debug for super::SelectiveGapicGeneration {
364 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
365 let mut debug_struct = f.debug_struct("SelectiveGapicGeneration");
366 debug_struct.field("methods", &self.methods);
367 debug_struct.field(
368 "generate_omitted_as_internal",
369 &self.generate_omitted_as_internal,
370 );
371 if !self._unknown_fields.is_empty() {
372 debug_struct.field("_unknown_fields", &self._unknown_fields);
373 }
374 debug_struct.finish()
375 }
376}
377
378impl std::fmt::Debug for super::BatchingConfigProto {
379 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
380 let mut debug_struct = f.debug_struct("BatchingConfigProto");
381 debug_struct.field("thresholds", &self.thresholds);
382 debug_struct.field("batch_descriptor", &self.batch_descriptor);
383 if !self._unknown_fields.is_empty() {
384 debug_struct.field("_unknown_fields", &self._unknown_fields);
385 }
386 debug_struct.finish()
387 }
388}
389
390impl std::fmt::Debug for super::BatchingSettingsProto {
391 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
392 let mut debug_struct = f.debug_struct("BatchingSettingsProto");
393 debug_struct.field("element_count_threshold", &self.element_count_threshold);
394 debug_struct.field("request_byte_threshold", &self.request_byte_threshold);
395 debug_struct.field("delay_threshold", &self.delay_threshold);
396 debug_struct.field("element_count_limit", &self.element_count_limit);
397 debug_struct.field("request_byte_limit", &self.request_byte_limit);
398 debug_struct.field(
399 "flow_control_element_limit",
400 &self.flow_control_element_limit,
401 );
402 debug_struct.field("flow_control_byte_limit", &self.flow_control_byte_limit);
403 debug_struct.field(
404 "flow_control_limit_exceeded_behavior",
405 &self.flow_control_limit_exceeded_behavior,
406 );
407 if !self._unknown_fields.is_empty() {
408 debug_struct.field("_unknown_fields", &self._unknown_fields);
409 }
410 debug_struct.finish()
411 }
412}
413
414impl std::fmt::Debug for super::BatchingDescriptorProto {
415 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
416 let mut debug_struct = f.debug_struct("BatchingDescriptorProto");
417 debug_struct.field("batched_field", &self.batched_field);
418 debug_struct.field("discriminator_fields", &self.discriminator_fields);
419 debug_struct.field("subresponse_field", &self.subresponse_field);
420 if !self._unknown_fields.is_empty() {
421 debug_struct.field("_unknown_fields", &self._unknown_fields);
422 }
423 debug_struct.finish()
424 }
425}
426
427impl std::fmt::Debug for super::ConfigChange {
428 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
429 let mut debug_struct = f.debug_struct("ConfigChange");
430 debug_struct.field("element", &self.element);
431 debug_struct.field("old_value", &self.old_value);
432 debug_struct.field("new_value", &self.new_value);
433 debug_struct.field("change_type", &self.change_type);
434 debug_struct.field("advices", &self.advices);
435 if !self._unknown_fields.is_empty() {
436 debug_struct.field("_unknown_fields", &self._unknown_fields);
437 }
438 debug_struct.finish()
439 }
440}
441
442impl std::fmt::Debug for super::Advice {
443 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
444 let mut debug_struct = f.debug_struct("Advice");
445 debug_struct.field("description", &self.description);
446 if !self._unknown_fields.is_empty() {
447 debug_struct.field("_unknown_fields", &self._unknown_fields);
448 }
449 debug_struct.finish()
450 }
451}
452
453impl std::fmt::Debug for super::ProjectProperties {
454 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
455 let mut debug_struct = f.debug_struct("ProjectProperties");
456 debug_struct.field("properties", &self.properties);
457 if !self._unknown_fields.is_empty() {
458 debug_struct.field("_unknown_fields", &self._unknown_fields);
459 }
460 debug_struct.finish()
461 }
462}
463
464impl std::fmt::Debug for super::Property {
465 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
466 let mut debug_struct = f.debug_struct("Property");
467 debug_struct.field("name", &self.name);
468 debug_struct.field("r#type", &self.r#type);
469 debug_struct.field("description", &self.description);
470 if !self._unknown_fields.is_empty() {
471 debug_struct.field("_unknown_fields", &self._unknown_fields);
472 }
473 debug_struct.finish()
474 }
475}
476
477impl std::fmt::Debug for super::Context {
478 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
479 let mut debug_struct = f.debug_struct("Context");
480 debug_struct.field("rules", &self.rules);
481 if !self._unknown_fields.is_empty() {
482 debug_struct.field("_unknown_fields", &self._unknown_fields);
483 }
484 debug_struct.finish()
485 }
486}
487
488impl std::fmt::Debug for super::ContextRule {
489 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
490 let mut debug_struct = f.debug_struct("ContextRule");
491 debug_struct.field("selector", &self.selector);
492 debug_struct.field("requested", &self.requested);
493 debug_struct.field("provided", &self.provided);
494 debug_struct.field(
495 "allowed_request_extensions",
496 &self.allowed_request_extensions,
497 );
498 debug_struct.field(
499 "allowed_response_extensions",
500 &self.allowed_response_extensions,
501 );
502 if !self._unknown_fields.is_empty() {
503 debug_struct.field("_unknown_fields", &self._unknown_fields);
504 }
505 debug_struct.finish()
506 }
507}
508
509impl std::fmt::Debug for super::Control {
510 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
511 let mut debug_struct = f.debug_struct("Control");
512 debug_struct.field("environment", &self.environment);
513 debug_struct.field("method_policies", &self.method_policies);
514 if !self._unknown_fields.is_empty() {
515 debug_struct.field("_unknown_fields", &self._unknown_fields);
516 }
517 debug_struct.finish()
518 }
519}
520
521impl std::fmt::Debug for super::Distribution {
522 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
523 let mut debug_struct = f.debug_struct("Distribution");
524 debug_struct.field("count", &self.count);
525 debug_struct.field("mean", &self.mean);
526 debug_struct.field("sum_of_squared_deviation", &self.sum_of_squared_deviation);
527 debug_struct.field("range", &self.range);
528 debug_struct.field("bucket_options", &self.bucket_options);
529 debug_struct.field("bucket_counts", &self.bucket_counts);
530 debug_struct.field("exemplars", &self.exemplars);
531 if !self._unknown_fields.is_empty() {
532 debug_struct.field("_unknown_fields", &self._unknown_fields);
533 }
534 debug_struct.finish()
535 }
536}
537
538impl std::fmt::Debug for super::distribution::Range {
539 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
540 let mut debug_struct = f.debug_struct("Range");
541 debug_struct.field("min", &self.min);
542 debug_struct.field("max", &self.max);
543 if !self._unknown_fields.is_empty() {
544 debug_struct.field("_unknown_fields", &self._unknown_fields);
545 }
546 debug_struct.finish()
547 }
548}
549
550impl std::fmt::Debug for super::distribution::BucketOptions {
551 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
552 let mut debug_struct = f.debug_struct("BucketOptions");
553 debug_struct.field("options", &self.options);
554 if !self._unknown_fields.is_empty() {
555 debug_struct.field("_unknown_fields", &self._unknown_fields);
556 }
557 debug_struct.finish()
558 }
559}
560
561impl std::fmt::Debug for super::distribution::bucket_options::Linear {
562 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
563 let mut debug_struct = f.debug_struct("Linear");
564 debug_struct.field("num_finite_buckets", &self.num_finite_buckets);
565 debug_struct.field("width", &self.width);
566 debug_struct.field("offset", &self.offset);
567 if !self._unknown_fields.is_empty() {
568 debug_struct.field("_unknown_fields", &self._unknown_fields);
569 }
570 debug_struct.finish()
571 }
572}
573
574impl std::fmt::Debug for super::distribution::bucket_options::Exponential {
575 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
576 let mut debug_struct = f.debug_struct("Exponential");
577 debug_struct.field("num_finite_buckets", &self.num_finite_buckets);
578 debug_struct.field("growth_factor", &self.growth_factor);
579 debug_struct.field("scale", &self.scale);
580 if !self._unknown_fields.is_empty() {
581 debug_struct.field("_unknown_fields", &self._unknown_fields);
582 }
583 debug_struct.finish()
584 }
585}
586
587impl std::fmt::Debug for super::distribution::bucket_options::Explicit {
588 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
589 let mut debug_struct = f.debug_struct("Explicit");
590 debug_struct.field("bounds", &self.bounds);
591 if !self._unknown_fields.is_empty() {
592 debug_struct.field("_unknown_fields", &self._unknown_fields);
593 }
594 debug_struct.finish()
595 }
596}
597
598impl std::fmt::Debug for super::distribution::Exemplar {
599 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
600 let mut debug_struct = f.debug_struct("Exemplar");
601 debug_struct.field("value", &self.value);
602 debug_struct.field("timestamp", &self.timestamp);
603 debug_struct.field("attachments", &self.attachments);
604 if !self._unknown_fields.is_empty() {
605 debug_struct.field("_unknown_fields", &self._unknown_fields);
606 }
607 debug_struct.finish()
608 }
609}
610
611impl std::fmt::Debug for super::Documentation {
612 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
613 let mut debug_struct = f.debug_struct("Documentation");
614 debug_struct.field("summary", &self.summary);
615 debug_struct.field("pages", &self.pages);
616 debug_struct.field("rules", &self.rules);
617 debug_struct.field("documentation_root_url", &self.documentation_root_url);
618 debug_struct.field("service_root_url", &self.service_root_url);
619 debug_struct.field("overview", &self.overview);
620 if !self._unknown_fields.is_empty() {
621 debug_struct.field("_unknown_fields", &self._unknown_fields);
622 }
623 debug_struct.finish()
624 }
625}
626
627impl std::fmt::Debug for super::DocumentationRule {
628 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
629 let mut debug_struct = f.debug_struct("DocumentationRule");
630 debug_struct.field("selector", &self.selector);
631 debug_struct.field("description", &self.description);
632 debug_struct.field("deprecation_description", &self.deprecation_description);
633 if !self._unknown_fields.is_empty() {
634 debug_struct.field("_unknown_fields", &self._unknown_fields);
635 }
636 debug_struct.finish()
637 }
638}
639
640impl std::fmt::Debug for super::Page {
641 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
642 let mut debug_struct = f.debug_struct("Page");
643 debug_struct.field("name", &self.name);
644 debug_struct.field("content", &self.content);
645 debug_struct.field("subpages", &self.subpages);
646 if !self._unknown_fields.is_empty() {
647 debug_struct.field("_unknown_fields", &self._unknown_fields);
648 }
649 debug_struct.finish()
650 }
651}
652
653impl std::fmt::Debug for super::Endpoint {
654 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
655 let mut debug_struct = f.debug_struct("Endpoint");
656 debug_struct.field("name", &self.name);
657 debug_struct.field("aliases", &self.aliases);
658 debug_struct.field("target", &self.target);
659 debug_struct.field("allow_cors", &self.allow_cors);
660 if !self._unknown_fields.is_empty() {
661 debug_struct.field("_unknown_fields", &self._unknown_fields);
662 }
663 debug_struct.finish()
664 }
665}
666
667impl std::fmt::Debug for super::FieldInfo {
668 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
669 let mut debug_struct = f.debug_struct("FieldInfo");
670 debug_struct.field("format", &self.format);
671 debug_struct.field("referenced_types", &self.referenced_types);
672 if !self._unknown_fields.is_empty() {
673 debug_struct.field("_unknown_fields", &self._unknown_fields);
674 }
675 debug_struct.finish()
676 }
677}
678
679impl std::fmt::Debug for super::TypeReference {
680 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
681 let mut debug_struct = f.debug_struct("TypeReference");
682 debug_struct.field("type_name", &self.type_name);
683 if !self._unknown_fields.is_empty() {
684 debug_struct.field("_unknown_fields", &self._unknown_fields);
685 }
686 debug_struct.finish()
687 }
688}
689
690impl std::fmt::Debug for super::Http {
691 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
692 let mut debug_struct = f.debug_struct("Http");
693 debug_struct.field("rules", &self.rules);
694 debug_struct.field(
695 "fully_decode_reserved_expansion",
696 &self.fully_decode_reserved_expansion,
697 );
698 if !self._unknown_fields.is_empty() {
699 debug_struct.field("_unknown_fields", &self._unknown_fields);
700 }
701 debug_struct.finish()
702 }
703}
704
705impl std::fmt::Debug for super::HttpRule {
706 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
707 let mut debug_struct = f.debug_struct("HttpRule");
708 debug_struct.field("selector", &self.selector);
709 debug_struct.field("body", &self.body);
710 debug_struct.field("response_body", &self.response_body);
711 debug_struct.field("additional_bindings", &self.additional_bindings);
712 debug_struct.field("pattern", &self.pattern);
713 if !self._unknown_fields.is_empty() {
714 debug_struct.field("_unknown_fields", &self._unknown_fields);
715 }
716 debug_struct.finish()
717 }
718}
719
720impl std::fmt::Debug for super::CustomHttpPattern {
721 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
722 let mut debug_struct = f.debug_struct("CustomHttpPattern");
723 debug_struct.field("kind", &self.kind);
724 debug_struct.field("path", &self.path);
725 if !self._unknown_fields.is_empty() {
726 debug_struct.field("_unknown_fields", &self._unknown_fields);
727 }
728 debug_struct.finish()
729 }
730}
731
732impl std::fmt::Debug for super::HttpBody {
733 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
734 let mut debug_struct = f.debug_struct("HttpBody");
735 debug_struct.field("content_type", &self.content_type);
736 debug_struct.field("data", &self.data);
737 debug_struct.field("extensions", &self.extensions);
738 if !self._unknown_fields.is_empty() {
739 debug_struct.field("_unknown_fields", &self._unknown_fields);
740 }
741 debug_struct.finish()
742 }
743}
744
745impl std::fmt::Debug for super::LabelDescriptor {
746 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
747 let mut debug_struct = f.debug_struct("LabelDescriptor");
748 debug_struct.field("key", &self.key);
749 debug_struct.field("value_type", &self.value_type);
750 debug_struct.field("description", &self.description);
751 if !self._unknown_fields.is_empty() {
752 debug_struct.field("_unknown_fields", &self._unknown_fields);
753 }
754 debug_struct.finish()
755 }
756}
757
758impl std::fmt::Debug for super::LogDescriptor {
759 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
760 let mut debug_struct = f.debug_struct("LogDescriptor");
761 debug_struct.field("name", &self.name);
762 debug_struct.field("labels", &self.labels);
763 debug_struct.field("description", &self.description);
764 debug_struct.field("display_name", &self.display_name);
765 if !self._unknown_fields.is_empty() {
766 debug_struct.field("_unknown_fields", &self._unknown_fields);
767 }
768 debug_struct.finish()
769 }
770}
771
772impl std::fmt::Debug for super::Logging {
773 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
774 let mut debug_struct = f.debug_struct("Logging");
775 debug_struct.field("producer_destinations", &self.producer_destinations);
776 debug_struct.field("consumer_destinations", &self.consumer_destinations);
777 if !self._unknown_fields.is_empty() {
778 debug_struct.field("_unknown_fields", &self._unknown_fields);
779 }
780 debug_struct.finish()
781 }
782}
783
784impl std::fmt::Debug for super::logging::LoggingDestination {
785 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
786 let mut debug_struct = f.debug_struct("LoggingDestination");
787 debug_struct.field("monitored_resource", &self.monitored_resource);
788 debug_struct.field("logs", &self.logs);
789 if !self._unknown_fields.is_empty() {
790 debug_struct.field("_unknown_fields", &self._unknown_fields);
791 }
792 debug_struct.finish()
793 }
794}
795
796impl std::fmt::Debug for super::MetricDescriptor {
797 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
798 let mut debug_struct = f.debug_struct("MetricDescriptor");
799 debug_struct.field("name", &self.name);
800 debug_struct.field("r#type", &self.r#type);
801 debug_struct.field("labels", &self.labels);
802 debug_struct.field("metric_kind", &self.metric_kind);
803 debug_struct.field("value_type", &self.value_type);
804 debug_struct.field("unit", &self.unit);
805 debug_struct.field("description", &self.description);
806 debug_struct.field("display_name", &self.display_name);
807 debug_struct.field("metadata", &self.metadata);
808 debug_struct.field("launch_stage", &self.launch_stage);
809 debug_struct.field("monitored_resource_types", &self.monitored_resource_types);
810 if !self._unknown_fields.is_empty() {
811 debug_struct.field("_unknown_fields", &self._unknown_fields);
812 }
813 debug_struct.finish()
814 }
815}
816
817impl std::fmt::Debug for super::metric_descriptor::MetricDescriptorMetadata {
818 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
819 let mut debug_struct = f.debug_struct("MetricDescriptorMetadata");
820 debug_struct.field("launch_stage", &self.launch_stage);
821 debug_struct.field("sample_period", &self.sample_period);
822 debug_struct.field("ingest_delay", &self.ingest_delay);
823 debug_struct.field(
824 "time_series_resource_hierarchy_level",
825 &self.time_series_resource_hierarchy_level,
826 );
827 if !self._unknown_fields.is_empty() {
828 debug_struct.field("_unknown_fields", &self._unknown_fields);
829 }
830 debug_struct.finish()
831 }
832}
833
834impl std::fmt::Debug for super::Metric {
835 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
836 let mut debug_struct = f.debug_struct("Metric");
837 debug_struct.field("r#type", &self.r#type);
838 debug_struct.field("labels", &self.labels);
839 if !self._unknown_fields.is_empty() {
840 debug_struct.field("_unknown_fields", &self._unknown_fields);
841 }
842 debug_struct.finish()
843 }
844}
845
846impl std::fmt::Debug for super::MonitoredResourceDescriptor {
847 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
848 let mut debug_struct = f.debug_struct("MonitoredResourceDescriptor");
849 debug_struct.field("name", &self.name);
850 debug_struct.field("r#type", &self.r#type);
851 debug_struct.field("display_name", &self.display_name);
852 debug_struct.field("description", &self.description);
853 debug_struct.field("labels", &self.labels);
854 debug_struct.field("launch_stage", &self.launch_stage);
855 if !self._unknown_fields.is_empty() {
856 debug_struct.field("_unknown_fields", &self._unknown_fields);
857 }
858 debug_struct.finish()
859 }
860}
861
862impl std::fmt::Debug for super::MonitoredResource {
863 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
864 let mut debug_struct = f.debug_struct("MonitoredResource");
865 debug_struct.field("r#type", &self.r#type);
866 debug_struct.field("labels", &self.labels);
867 if !self._unknown_fields.is_empty() {
868 debug_struct.field("_unknown_fields", &self._unknown_fields);
869 }
870 debug_struct.finish()
871 }
872}
873
874impl std::fmt::Debug for super::MonitoredResourceMetadata {
875 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
876 let mut debug_struct = f.debug_struct("MonitoredResourceMetadata");
877 debug_struct.field("system_labels", &self.system_labels);
878 debug_struct.field("user_labels", &self.user_labels);
879 if !self._unknown_fields.is_empty() {
880 debug_struct.field("_unknown_fields", &self._unknown_fields);
881 }
882 debug_struct.finish()
883 }
884}
885
886impl std::fmt::Debug for super::Monitoring {
887 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
888 let mut debug_struct = f.debug_struct("Monitoring");
889 debug_struct.field("producer_destinations", &self.producer_destinations);
890 debug_struct.field("consumer_destinations", &self.consumer_destinations);
891 if !self._unknown_fields.is_empty() {
892 debug_struct.field("_unknown_fields", &self._unknown_fields);
893 }
894 debug_struct.finish()
895 }
896}
897
898impl std::fmt::Debug for super::monitoring::MonitoringDestination {
899 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
900 let mut debug_struct = f.debug_struct("MonitoringDestination");
901 debug_struct.field("monitored_resource", &self.monitored_resource);
902 debug_struct.field("metrics", &self.metrics);
903 if !self._unknown_fields.is_empty() {
904 debug_struct.field("_unknown_fields", &self._unknown_fields);
905 }
906 debug_struct.finish()
907 }
908}
909
910impl std::fmt::Debug for super::FieldPolicy {
911 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
912 let mut debug_struct = f.debug_struct("FieldPolicy");
913 debug_struct.field("selector", &self.selector);
914 debug_struct.field("resource_permission", &self.resource_permission);
915 debug_struct.field("resource_type", &self.resource_type);
916 if !self._unknown_fields.is_empty() {
917 debug_struct.field("_unknown_fields", &self._unknown_fields);
918 }
919 debug_struct.finish()
920 }
921}
922
923impl std::fmt::Debug for super::MethodPolicy {
924 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
925 let mut debug_struct = f.debug_struct("MethodPolicy");
926 debug_struct.field("selector", &self.selector);
927 debug_struct.field("request_policies", &self.request_policies);
928 if !self._unknown_fields.is_empty() {
929 debug_struct.field("_unknown_fields", &self._unknown_fields);
930 }
931 debug_struct.finish()
932 }
933}
934
935impl std::fmt::Debug for super::Quota {
936 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
937 let mut debug_struct = f.debug_struct("Quota");
938 debug_struct.field("limits", &self.limits);
939 debug_struct.field("metric_rules", &self.metric_rules);
940 if !self._unknown_fields.is_empty() {
941 debug_struct.field("_unknown_fields", &self._unknown_fields);
942 }
943 debug_struct.finish()
944 }
945}
946
947impl std::fmt::Debug for super::MetricRule {
948 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
949 let mut debug_struct = f.debug_struct("MetricRule");
950 debug_struct.field("selector", &self.selector);
951 debug_struct.field("metric_costs", &self.metric_costs);
952 if !self._unknown_fields.is_empty() {
953 debug_struct.field("_unknown_fields", &self._unknown_fields);
954 }
955 debug_struct.finish()
956 }
957}
958
959impl std::fmt::Debug for super::QuotaLimit {
960 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
961 let mut debug_struct = f.debug_struct("QuotaLimit");
962 debug_struct.field("name", &self.name);
963 debug_struct.field("description", &self.description);
964 debug_struct.field("default_limit", &self.default_limit);
965 debug_struct.field("max_limit", &self.max_limit);
966 debug_struct.field("free_tier", &self.free_tier);
967 debug_struct.field("duration", &self.duration);
968 debug_struct.field("metric", &self.metric);
969 debug_struct.field("unit", &self.unit);
970 debug_struct.field("values", &self.values);
971 debug_struct.field("display_name", &self.display_name);
972 if !self._unknown_fields.is_empty() {
973 debug_struct.field("_unknown_fields", &self._unknown_fields);
974 }
975 debug_struct.finish()
976 }
977}
978
979impl std::fmt::Debug for super::ResourceDescriptor {
980 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
981 let mut debug_struct = f.debug_struct("ResourceDescriptor");
982 debug_struct.field("r#type", &self.r#type);
983 debug_struct.field("pattern", &self.pattern);
984 debug_struct.field("name_field", &self.name_field);
985 debug_struct.field("history", &self.history);
986 debug_struct.field("plural", &self.plural);
987 debug_struct.field("singular", &self.singular);
988 debug_struct.field("style", &self.style);
989 if !self._unknown_fields.is_empty() {
990 debug_struct.field("_unknown_fields", &self._unknown_fields);
991 }
992 debug_struct.finish()
993 }
994}
995
996impl std::fmt::Debug for super::ResourceReference {
997 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
998 let mut debug_struct = f.debug_struct("ResourceReference");
999 debug_struct.field("r#type", &self.r#type);
1000 debug_struct.field("child_type", &self.child_type);
1001 if !self._unknown_fields.is_empty() {
1002 debug_struct.field("_unknown_fields", &self._unknown_fields);
1003 }
1004 debug_struct.finish()
1005 }
1006}
1007
1008impl std::fmt::Debug for super::RoutingRule {
1009 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1010 let mut debug_struct = f.debug_struct("RoutingRule");
1011 debug_struct.field("routing_parameters", &self.routing_parameters);
1012 if !self._unknown_fields.is_empty() {
1013 debug_struct.field("_unknown_fields", &self._unknown_fields);
1014 }
1015 debug_struct.finish()
1016 }
1017}
1018
1019impl std::fmt::Debug for super::RoutingParameter {
1020 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1021 let mut debug_struct = f.debug_struct("RoutingParameter");
1022 debug_struct.field("field", &self.field);
1023 debug_struct.field("path_template", &self.path_template);
1024 if !self._unknown_fields.is_empty() {
1025 debug_struct.field("_unknown_fields", &self._unknown_fields);
1026 }
1027 debug_struct.finish()
1028 }
1029}
1030
1031impl std::fmt::Debug for super::Service {
1032 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1033 let mut debug_struct = f.debug_struct("Service");
1034 debug_struct.field("name", &self.name);
1035 debug_struct.field("title", &self.title);
1036 debug_struct.field("producer_project_id", &self.producer_project_id);
1037 debug_struct.field("id", &self.id);
1038 debug_struct.field("apis", &self.apis);
1039 debug_struct.field("types", &self.types);
1040 debug_struct.field("enums", &self.enums);
1041 debug_struct.field("documentation", &self.documentation);
1042 debug_struct.field("backend", &self.backend);
1043 debug_struct.field("http", &self.http);
1044 debug_struct.field("quota", &self.quota);
1045 debug_struct.field("authentication", &self.authentication);
1046 debug_struct.field("context", &self.context);
1047 debug_struct.field("usage", &self.usage);
1048 debug_struct.field("endpoints", &self.endpoints);
1049 debug_struct.field("control", &self.control);
1050 debug_struct.field("logs", &self.logs);
1051 debug_struct.field("metrics", &self.metrics);
1052 debug_struct.field("monitored_resources", &self.monitored_resources);
1053 debug_struct.field("billing", &self.billing);
1054 debug_struct.field("logging", &self.logging);
1055 debug_struct.field("monitoring", &self.monitoring);
1056 debug_struct.field("system_parameters", &self.system_parameters);
1057 debug_struct.field("source_info", &self.source_info);
1058 debug_struct.field("publishing", &self.publishing);
1059 debug_struct.field("config_version", &self.config_version);
1060 if !self._unknown_fields.is_empty() {
1061 debug_struct.field("_unknown_fields", &self._unknown_fields);
1062 }
1063 debug_struct.finish()
1064 }
1065}
1066
1067impl std::fmt::Debug for super::SourceInfo {
1068 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1069 let mut debug_struct = f.debug_struct("SourceInfo");
1070 debug_struct.field("source_files", &self.source_files);
1071 if !self._unknown_fields.is_empty() {
1072 debug_struct.field("_unknown_fields", &self._unknown_fields);
1073 }
1074 debug_struct.finish()
1075 }
1076}
1077
1078impl std::fmt::Debug for super::SystemParameters {
1079 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1080 let mut debug_struct = f.debug_struct("SystemParameters");
1081 debug_struct.field("rules", &self.rules);
1082 if !self._unknown_fields.is_empty() {
1083 debug_struct.field("_unknown_fields", &self._unknown_fields);
1084 }
1085 debug_struct.finish()
1086 }
1087}
1088
1089impl std::fmt::Debug for super::SystemParameterRule {
1090 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1091 let mut debug_struct = f.debug_struct("SystemParameterRule");
1092 debug_struct.field("selector", &self.selector);
1093 debug_struct.field("parameters", &self.parameters);
1094 if !self._unknown_fields.is_empty() {
1095 debug_struct.field("_unknown_fields", &self._unknown_fields);
1096 }
1097 debug_struct.finish()
1098 }
1099}
1100
1101impl std::fmt::Debug for super::SystemParameter {
1102 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1103 let mut debug_struct = f.debug_struct("SystemParameter");
1104 debug_struct.field("name", &self.name);
1105 debug_struct.field("http_header", &self.http_header);
1106 debug_struct.field("url_query_parameter", &self.url_query_parameter);
1107 if !self._unknown_fields.is_empty() {
1108 debug_struct.field("_unknown_fields", &self._unknown_fields);
1109 }
1110 debug_struct.finish()
1111 }
1112}
1113
1114impl std::fmt::Debug for super::Usage {
1115 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1116 let mut debug_struct = f.debug_struct("Usage");
1117 debug_struct.field("requirements", &self.requirements);
1118 debug_struct.field("rules", &self.rules);
1119 debug_struct.field(
1120 "producer_notification_channel",
1121 &self.producer_notification_channel,
1122 );
1123 if !self._unknown_fields.is_empty() {
1124 debug_struct.field("_unknown_fields", &self._unknown_fields);
1125 }
1126 debug_struct.finish()
1127 }
1128}
1129
1130impl std::fmt::Debug for super::UsageRule {
1131 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1132 let mut debug_struct = f.debug_struct("UsageRule");
1133 debug_struct.field("selector", &self.selector);
1134 debug_struct.field("allow_unregistered_calls", &self.allow_unregistered_calls);
1135 debug_struct.field("skip_service_control", &self.skip_service_control);
1136 if !self._unknown_fields.is_empty() {
1137 debug_struct.field("_unknown_fields", &self._unknown_fields);
1138 }
1139 debug_struct.finish()
1140 }
1141}
1142
1143impl std::fmt::Debug for super::Visibility {
1144 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1145 let mut debug_struct = f.debug_struct("Visibility");
1146 debug_struct.field("rules", &self.rules);
1147 if !self._unknown_fields.is_empty() {
1148 debug_struct.field("_unknown_fields", &self._unknown_fields);
1149 }
1150 debug_struct.finish()
1151 }
1152}
1153
1154impl std::fmt::Debug for super::VisibilityRule {
1155 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1156 let mut debug_struct = f.debug_struct("VisibilityRule");
1157 debug_struct.field("selector", &self.selector);
1158 debug_struct.field("restriction", &self.restriction);
1159 if !self._unknown_fields.is_empty() {
1160 debug_struct.field("_unknown_fields", &self._unknown_fields);
1161 }
1162 debug_struct.finish()
1163 }
1164}