1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::ChangeStreamRecord {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("ChangeStreamRecord");
23 debug_struct.field("record", &self.record);
24 if !self._unknown_fields.is_empty() {
25 debug_struct.field("_unknown_fields", &self._unknown_fields);
26 }
27 debug_struct.finish()
28 }
29}
30
31impl std::fmt::Debug for super::change_stream_record::DataChangeRecord {
32 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
33 let mut debug_struct = f.debug_struct("DataChangeRecord");
34 debug_struct.field("commit_timestamp", &self.commit_timestamp);
35 debug_struct.field("record_sequence", &self.record_sequence);
36 debug_struct.field("server_transaction_id", &self.server_transaction_id);
37 debug_struct.field(
38 "is_last_record_in_transaction_in_partition",
39 &self.is_last_record_in_transaction_in_partition,
40 );
41 debug_struct.field("table", &self.table);
42 debug_struct.field("column_metadata", &self.column_metadata);
43 debug_struct.field("mods", &self.mods);
44 debug_struct.field("mod_type", &self.mod_type);
45 debug_struct.field("value_capture_type", &self.value_capture_type);
46 debug_struct.field(
47 "number_of_records_in_transaction",
48 &self.number_of_records_in_transaction,
49 );
50 debug_struct.field(
51 "number_of_partitions_in_transaction",
52 &self.number_of_partitions_in_transaction,
53 );
54 debug_struct.field("transaction_tag", &self.transaction_tag);
55 debug_struct.field("is_system_transaction", &self.is_system_transaction);
56 if !self._unknown_fields.is_empty() {
57 debug_struct.field("_unknown_fields", &self._unknown_fields);
58 }
59 debug_struct.finish()
60 }
61}
62
63impl std::fmt::Debug for super::change_stream_record::data_change_record::ColumnMetadata {
64 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
65 let mut debug_struct = f.debug_struct("ColumnMetadata");
66 debug_struct.field("name", &self.name);
67 debug_struct.field("r#type", &self.r#type);
68 debug_struct.field("is_primary_key", &self.is_primary_key);
69 debug_struct.field("ordinal_position", &self.ordinal_position);
70 if !self._unknown_fields.is_empty() {
71 debug_struct.field("_unknown_fields", &self._unknown_fields);
72 }
73 debug_struct.finish()
74 }
75}
76
77impl std::fmt::Debug for super::change_stream_record::data_change_record::ModValue {
78 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
79 let mut debug_struct = f.debug_struct("ModValue");
80 debug_struct.field("column_metadata_index", &self.column_metadata_index);
81 debug_struct.field("value", &self.value);
82 if !self._unknown_fields.is_empty() {
83 debug_struct.field("_unknown_fields", &self._unknown_fields);
84 }
85 debug_struct.finish()
86 }
87}
88
89impl std::fmt::Debug for super::change_stream_record::data_change_record::Mod {
90 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
91 let mut debug_struct = f.debug_struct("Mod");
92 debug_struct.field("keys", &self.keys);
93 debug_struct.field("old_values", &self.old_values);
94 debug_struct.field("new_values", &self.new_values);
95 if !self._unknown_fields.is_empty() {
96 debug_struct.field("_unknown_fields", &self._unknown_fields);
97 }
98 debug_struct.finish()
99 }
100}
101
102impl std::fmt::Debug for super::change_stream_record::HeartbeatRecord {
103 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
104 let mut debug_struct = f.debug_struct("HeartbeatRecord");
105 debug_struct.field("timestamp", &self.timestamp);
106 if !self._unknown_fields.is_empty() {
107 debug_struct.field("_unknown_fields", &self._unknown_fields);
108 }
109 debug_struct.finish()
110 }
111}
112
113impl std::fmt::Debug for super::change_stream_record::PartitionStartRecord {
114 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
115 let mut debug_struct = f.debug_struct("PartitionStartRecord");
116 debug_struct.field("start_timestamp", &self.start_timestamp);
117 debug_struct.field("record_sequence", &self.record_sequence);
118 debug_struct.field("partition_tokens", &self.partition_tokens);
119 if !self._unknown_fields.is_empty() {
120 debug_struct.field("_unknown_fields", &self._unknown_fields);
121 }
122 debug_struct.finish()
123 }
124}
125
126impl std::fmt::Debug for super::change_stream_record::PartitionEndRecord {
127 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
128 let mut debug_struct = f.debug_struct("PartitionEndRecord");
129 debug_struct.field("end_timestamp", &self.end_timestamp);
130 debug_struct.field("record_sequence", &self.record_sequence);
131 debug_struct.field("partition_token", &self.partition_token);
132 if !self._unknown_fields.is_empty() {
133 debug_struct.field("_unknown_fields", &self._unknown_fields);
134 }
135 debug_struct.finish()
136 }
137}
138
139impl std::fmt::Debug for super::change_stream_record::PartitionEventRecord {
140 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
141 let mut debug_struct = f.debug_struct("PartitionEventRecord");
142 debug_struct.field("commit_timestamp", &self.commit_timestamp);
143 debug_struct.field("record_sequence", &self.record_sequence);
144 debug_struct.field("partition_token", &self.partition_token);
145 debug_struct.field("move_in_events", &self.move_in_events);
146 debug_struct.field("move_out_events", &self.move_out_events);
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::change_stream_record::partition_event_record::MoveInEvent {
155 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
156 let mut debug_struct = f.debug_struct("MoveInEvent");
157 debug_struct.field("source_partition_token", &self.source_partition_token);
158 if !self._unknown_fields.is_empty() {
159 debug_struct.field("_unknown_fields", &self._unknown_fields);
160 }
161 debug_struct.finish()
162 }
163}
164
165impl std::fmt::Debug for super::change_stream_record::partition_event_record::MoveOutEvent {
166 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
167 let mut debug_struct = f.debug_struct("MoveOutEvent");
168 debug_struct.field(
169 "destination_partition_token",
170 &self.destination_partition_token,
171 );
172 if !self._unknown_fields.is_empty() {
173 debug_struct.field("_unknown_fields", &self._unknown_fields);
174 }
175 debug_struct.finish()
176 }
177}
178
179impl std::fmt::Debug for super::CommitResponse {
180 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
181 let mut debug_struct = f.debug_struct("CommitResponse");
182 debug_struct.field("commit_timestamp", &self.commit_timestamp);
183 debug_struct.field("commit_stats", &self.commit_stats);
184 debug_struct.field("snapshot_timestamp", &self.snapshot_timestamp);
185 debug_struct.field("cache_update", &self.cache_update);
186 debug_struct.field("isolation_level", &self.isolation_level);
187 debug_struct.field("read_lock_mode", &self.read_lock_mode);
188 debug_struct.field("multiplexed_session_retry", &self.multiplexed_session_retry);
189 if !self._unknown_fields.is_empty() {
190 debug_struct.field("_unknown_fields", &self._unknown_fields);
191 }
192 debug_struct.finish()
193 }
194}
195
196impl std::fmt::Debug for super::commit_response::CommitStats {
197 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
198 let mut debug_struct = f.debug_struct("CommitStats");
199 debug_struct.field("mutation_count", &self.mutation_count);
200 if !self._unknown_fields.is_empty() {
201 debug_struct.field("_unknown_fields", &self._unknown_fields);
202 }
203 debug_struct.finish()
204 }
205}
206
207impl std::fmt::Debug for super::KeyRange {
208 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
209 let mut debug_struct = f.debug_struct("KeyRange");
210 debug_struct.field("start_key_type", &self.start_key_type);
211 debug_struct.field("end_key_type", &self.end_key_type);
212 if !self._unknown_fields.is_empty() {
213 debug_struct.field("_unknown_fields", &self._unknown_fields);
214 }
215 debug_struct.finish()
216 }
217}
218
219impl std::fmt::Debug for super::KeySet {
220 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
221 let mut debug_struct = f.debug_struct("KeySet");
222 debug_struct.field("keys", &self.keys);
223 debug_struct.field("ranges", &self.ranges);
224 debug_struct.field("all", &self.all);
225 if !self._unknown_fields.is_empty() {
226 debug_struct.field("_unknown_fields", &self._unknown_fields);
227 }
228 debug_struct.finish()
229 }
230}
231
232impl std::fmt::Debug for super::Range {
233 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
234 let mut debug_struct = f.debug_struct("Range");
235 debug_struct.field("start_key", &self.start_key);
236 debug_struct.field("limit_key", &self.limit_key);
237 debug_struct.field("group_uid", &self.group_uid);
238 debug_struct.field("split_id", &self.split_id);
239 debug_struct.field("generation", &self.generation);
240 if !self._unknown_fields.is_empty() {
241 debug_struct.field("_unknown_fields", &self._unknown_fields);
242 }
243 debug_struct.finish()
244 }
245}
246
247impl std::fmt::Debug for super::Tablet {
248 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
249 let mut debug_struct = f.debug_struct("Tablet");
250 debug_struct.field("tablet_uid", &self.tablet_uid);
251 debug_struct.field("server_address", &self.server_address);
252 debug_struct.field("location", &self.location);
253 debug_struct.field("role", &self.role);
254 debug_struct.field("incarnation", &self.incarnation);
255 debug_struct.field("distance", &self.distance);
256 debug_struct.field("skip", &self.skip);
257 if !self._unknown_fields.is_empty() {
258 debug_struct.field("_unknown_fields", &self._unknown_fields);
259 }
260 debug_struct.finish()
261 }
262}
263
264impl std::fmt::Debug for super::Group {
265 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
266 let mut debug_struct = f.debug_struct("Group");
267 debug_struct.field("group_uid", &self.group_uid);
268 debug_struct.field("tablets", &self.tablets);
269 debug_struct.field("leader_index", &self.leader_index);
270 debug_struct.field("generation", &self.generation);
271 if !self._unknown_fields.is_empty() {
272 debug_struct.field("_unknown_fields", &self._unknown_fields);
273 }
274 debug_struct.finish()
275 }
276}
277
278impl std::fmt::Debug for super::KeyRecipe {
279 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
280 let mut debug_struct = f.debug_struct("KeyRecipe");
281 debug_struct.field("part", &self.part);
282 debug_struct.field("target", &self.target);
283 if !self._unknown_fields.is_empty() {
284 debug_struct.field("_unknown_fields", &self._unknown_fields);
285 }
286 debug_struct.finish()
287 }
288}
289
290impl std::fmt::Debug for super::key_recipe::Part {
291 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
292 let mut debug_struct = f.debug_struct("Part");
293 debug_struct.field("tag", &self.tag);
294 debug_struct.field("order", &self.order);
295 debug_struct.field("null_order", &self.null_order);
296 debug_struct.field("r#type", &self.r#type);
297 debug_struct.field("struct_identifiers", &self.struct_identifiers);
298 debug_struct.field("value_type", &self.value_type);
299 if !self._unknown_fields.is_empty() {
300 debug_struct.field("_unknown_fields", &self._unknown_fields);
301 }
302 debug_struct.finish()
303 }
304}
305
306impl std::fmt::Debug for super::RecipeList {
307 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
308 let mut debug_struct = f.debug_struct("RecipeList");
309 debug_struct.field("schema_generation", &self.schema_generation);
310 debug_struct.field("recipe", &self.recipe);
311 if !self._unknown_fields.is_empty() {
312 debug_struct.field("_unknown_fields", &self._unknown_fields);
313 }
314 debug_struct.finish()
315 }
316}
317
318impl std::fmt::Debug for super::CacheUpdate {
319 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
320 let mut debug_struct = f.debug_struct("CacheUpdate");
321 debug_struct.field("database_id", &self.database_id);
322 debug_struct.field("range", &self.range);
323 debug_struct.field("group", &self.group);
324 debug_struct.field("key_recipes", &self.key_recipes);
325 if !self._unknown_fields.is_empty() {
326 debug_struct.field("_unknown_fields", &self._unknown_fields);
327 }
328 debug_struct.finish()
329 }
330}
331
332impl std::fmt::Debug for super::RoutingHint {
333 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
334 let mut debug_struct = f.debug_struct("RoutingHint");
335 debug_struct.field("operation_uid", &self.operation_uid);
336 debug_struct.field("database_id", &self.database_id);
337 debug_struct.field("schema_generation", &self.schema_generation);
338 debug_struct.field("key", &self.key);
339 debug_struct.field("limit_key", &self.limit_key);
340 debug_struct.field("group_uid", &self.group_uid);
341 debug_struct.field("split_id", &self.split_id);
342 debug_struct.field("tablet_uid", &self.tablet_uid);
343 debug_struct.field("skipped_tablet_uid", &self.skipped_tablet_uid);
344 debug_struct.field("client_location", &self.client_location);
345 if !self._unknown_fields.is_empty() {
346 debug_struct.field("_unknown_fields", &self._unknown_fields);
347 }
348 debug_struct.finish()
349 }
350}
351
352impl std::fmt::Debug for super::routing_hint::SkippedTablet {
353 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
354 let mut debug_struct = f.debug_struct("SkippedTablet");
355 debug_struct.field("tablet_uid", &self.tablet_uid);
356 debug_struct.field("incarnation", &self.incarnation);
357 if !self._unknown_fields.is_empty() {
358 debug_struct.field("_unknown_fields", &self._unknown_fields);
359 }
360 debug_struct.finish()
361 }
362}
363
364impl std::fmt::Debug for super::Mutation {
365 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
366 let mut debug_struct = f.debug_struct("Mutation");
367 debug_struct.field("operation", &self.operation);
368 if !self._unknown_fields.is_empty() {
369 debug_struct.field("_unknown_fields", &self._unknown_fields);
370 }
371 debug_struct.finish()
372 }
373}
374
375impl std::fmt::Debug for super::mutation::Write {
376 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
377 let mut debug_struct = f.debug_struct("Write");
378 debug_struct.field("table", &self.table);
379 debug_struct.field("columns", &self.columns);
380 debug_struct.field("values", &self.values);
381 if !self._unknown_fields.is_empty() {
382 debug_struct.field("_unknown_fields", &self._unknown_fields);
383 }
384 debug_struct.finish()
385 }
386}
387
388impl std::fmt::Debug for super::mutation::Delete {
389 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
390 let mut debug_struct = f.debug_struct("Delete");
391 debug_struct.field("table", &self.table);
392 debug_struct.field("key_set", &self.key_set);
393 if !self._unknown_fields.is_empty() {
394 debug_struct.field("_unknown_fields", &self._unknown_fields);
395 }
396 debug_struct.finish()
397 }
398}
399
400impl std::fmt::Debug for super::mutation::Send {
401 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
402 let mut debug_struct = f.debug_struct("Send");
403 debug_struct.field("queue", &self.queue);
404 debug_struct.field("key", &self.key);
405 debug_struct.field("deliver_time", &self.deliver_time);
406 debug_struct.field("payload", &self.payload);
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::mutation::Ack {
415 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
416 let mut debug_struct = f.debug_struct("Ack");
417 debug_struct.field("queue", &self.queue);
418 debug_struct.field("key", &self.key);
419 debug_struct.field("ignore_not_found", &self.ignore_not_found);
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::PlanNode {
428 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
429 let mut debug_struct = f.debug_struct("PlanNode");
430 debug_struct.field("index", &self.index);
431 debug_struct.field("kind", &self.kind);
432 debug_struct.field("display_name", &self.display_name);
433 debug_struct.field("child_links", &self.child_links);
434 debug_struct.field("short_representation", &self.short_representation);
435 debug_struct.field("metadata", &self.metadata);
436 debug_struct.field("execution_stats", &self.execution_stats);
437 if !self._unknown_fields.is_empty() {
438 debug_struct.field("_unknown_fields", &self._unknown_fields);
439 }
440 debug_struct.finish()
441 }
442}
443
444impl std::fmt::Debug for super::plan_node::ChildLink {
445 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
446 let mut debug_struct = f.debug_struct("ChildLink");
447 debug_struct.field("child_index", &self.child_index);
448 debug_struct.field("r#type", &self.r#type);
449 debug_struct.field("variable", &self.variable);
450 if !self._unknown_fields.is_empty() {
451 debug_struct.field("_unknown_fields", &self._unknown_fields);
452 }
453 debug_struct.finish()
454 }
455}
456
457impl std::fmt::Debug for super::plan_node::ShortRepresentation {
458 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
459 let mut debug_struct = f.debug_struct("ShortRepresentation");
460 debug_struct.field("description", &self.description);
461 debug_struct.field("subqueries", &self.subqueries);
462 if !self._unknown_fields.is_empty() {
463 debug_struct.field("_unknown_fields", &self._unknown_fields);
464 }
465 debug_struct.finish()
466 }
467}
468
469impl std::fmt::Debug for super::QueryAdvisorResult {
470 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
471 let mut debug_struct = f.debug_struct("QueryAdvisorResult");
472 debug_struct.field("index_advice", &self.index_advice);
473 if !self._unknown_fields.is_empty() {
474 debug_struct.field("_unknown_fields", &self._unknown_fields);
475 }
476 debug_struct.finish()
477 }
478}
479
480impl std::fmt::Debug for super::query_advisor_result::IndexAdvice {
481 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
482 let mut debug_struct = f.debug_struct("IndexAdvice");
483 debug_struct.field("ddl", &self.ddl);
484 debug_struct.field("improvement_factor", &self.improvement_factor);
485 if !self._unknown_fields.is_empty() {
486 debug_struct.field("_unknown_fields", &self._unknown_fields);
487 }
488 debug_struct.finish()
489 }
490}
491
492impl std::fmt::Debug for super::QueryPlan {
493 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
494 let mut debug_struct = f.debug_struct("QueryPlan");
495 debug_struct.field("plan_nodes", &self.plan_nodes);
496 debug_struct.field("query_advice", &self.query_advice);
497 if !self._unknown_fields.is_empty() {
498 debug_struct.field("_unknown_fields", &self._unknown_fields);
499 }
500 debug_struct.finish()
501 }
502}
503
504impl std::fmt::Debug for super::ResultSet {
505 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
506 let mut debug_struct = f.debug_struct("ResultSet");
507 debug_struct.field("metadata", &self.metadata);
508 debug_struct.field("rows", &self.rows);
509 debug_struct.field("stats", &self.stats);
510 debug_struct.field("precommit_token", &self.precommit_token);
511 debug_struct.field("cache_update", &self.cache_update);
512 if !self._unknown_fields.is_empty() {
513 debug_struct.field("_unknown_fields", &self._unknown_fields);
514 }
515 debug_struct.finish()
516 }
517}
518
519impl std::fmt::Debug for super::PartialResultSet {
520 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
521 let mut debug_struct = f.debug_struct("PartialResultSet");
522 debug_struct.field("metadata", &self.metadata);
523 debug_struct.field("values", &self.values);
524 debug_struct.field("chunked_value", &self.chunked_value);
525 debug_struct.field("resume_token", &self.resume_token);
526 debug_struct.field("stats", &self.stats);
527 debug_struct.field("precommit_token", &self.precommit_token);
528 debug_struct.field("last", &self.last);
529 debug_struct.field("cache_update", &self.cache_update);
530 if !self._unknown_fields.is_empty() {
531 debug_struct.field("_unknown_fields", &self._unknown_fields);
532 }
533 debug_struct.finish()
534 }
535}
536
537impl std::fmt::Debug for super::ResultSetMetadata {
538 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
539 let mut debug_struct = f.debug_struct("ResultSetMetadata");
540 debug_struct.field("row_type", &self.row_type);
541 debug_struct.field("transaction", &self.transaction);
542 debug_struct.field("undeclared_parameters", &self.undeclared_parameters);
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::ResultSetStats {
551 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
552 let mut debug_struct = f.debug_struct("ResultSetStats");
553 debug_struct.field("query_plan", &self.query_plan);
554 debug_struct.field("query_stats", &self.query_stats);
555 debug_struct.field("row_count", &self.row_count);
556 if !self._unknown_fields.is_empty() {
557 debug_struct.field("_unknown_fields", &self._unknown_fields);
558 }
559 debug_struct.finish()
560 }
561}
562
563impl std::fmt::Debug for super::CreateSessionRequest {
564 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
565 let mut debug_struct = f.debug_struct("CreateSessionRequest");
566 debug_struct.field("database", &self.database);
567 debug_struct.field("session", &self.session);
568 if !self._unknown_fields.is_empty() {
569 debug_struct.field("_unknown_fields", &self._unknown_fields);
570 }
571 debug_struct.finish()
572 }
573}
574
575impl std::fmt::Debug for super::BatchCreateSessionsRequest {
576 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
577 let mut debug_struct = f.debug_struct("BatchCreateSessionsRequest");
578 debug_struct.field("database", &self.database);
579 debug_struct.field("session_template", &self.session_template);
580 debug_struct.field("session_count", &self.session_count);
581 if !self._unknown_fields.is_empty() {
582 debug_struct.field("_unknown_fields", &self._unknown_fields);
583 }
584 debug_struct.finish()
585 }
586}
587
588impl std::fmt::Debug for super::BatchCreateSessionsResponse {
589 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
590 let mut debug_struct = f.debug_struct("BatchCreateSessionsResponse");
591 debug_struct.field("session", &self.session);
592 if !self._unknown_fields.is_empty() {
593 debug_struct.field("_unknown_fields", &self._unknown_fields);
594 }
595 debug_struct.finish()
596 }
597}
598
599impl std::fmt::Debug for super::Session {
600 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
601 let mut debug_struct = f.debug_struct("Session");
602 debug_struct.field("name", &self.name);
603 debug_struct.field("labels", &self.labels);
604 debug_struct.field("create_time", &self.create_time);
605 debug_struct.field("approximate_last_use_time", &self.approximate_last_use_time);
606 debug_struct.field("creator_role", &self.creator_role);
607 debug_struct.field("multiplexed", &self.multiplexed);
608 if !self._unknown_fields.is_empty() {
609 debug_struct.field("_unknown_fields", &self._unknown_fields);
610 }
611 debug_struct.finish()
612 }
613}
614
615impl std::fmt::Debug for super::GetSessionRequest {
616 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
617 let mut debug_struct = f.debug_struct("GetSessionRequest");
618 debug_struct.field("name", &self.name);
619 if !self._unknown_fields.is_empty() {
620 debug_struct.field("_unknown_fields", &self._unknown_fields);
621 }
622 debug_struct.finish()
623 }
624}
625
626impl std::fmt::Debug for super::ListSessionsRequest {
627 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
628 let mut debug_struct = f.debug_struct("ListSessionsRequest");
629 debug_struct.field("database", &self.database);
630 debug_struct.field("page_size", &self.page_size);
631 debug_struct.field("page_token", &self.page_token);
632 debug_struct.field("filter", &self.filter);
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::ListSessionsResponse {
641 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
642 let mut debug_struct = f.debug_struct("ListSessionsResponse");
643 debug_struct.field("sessions", &self.sessions);
644 debug_struct.field("next_page_token", &self.next_page_token);
645 if !self._unknown_fields.is_empty() {
646 debug_struct.field("_unknown_fields", &self._unknown_fields);
647 }
648 debug_struct.finish()
649 }
650}
651
652impl std::fmt::Debug for super::DeleteSessionRequest {
653 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
654 let mut debug_struct = f.debug_struct("DeleteSessionRequest");
655 debug_struct.field("name", &self.name);
656 if !self._unknown_fields.is_empty() {
657 debug_struct.field("_unknown_fields", &self._unknown_fields);
658 }
659 debug_struct.finish()
660 }
661}
662
663impl std::fmt::Debug for super::RequestOptions {
664 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
665 let mut debug_struct = f.debug_struct("RequestOptions");
666 debug_struct.field("priority", &self.priority);
667 debug_struct.field("request_tag", &self.request_tag);
668 debug_struct.field("transaction_tag", &self.transaction_tag);
669 debug_struct.field("client_context", &self.client_context);
670 if !self._unknown_fields.is_empty() {
671 debug_struct.field("_unknown_fields", &self._unknown_fields);
672 }
673 debug_struct.finish()
674 }
675}
676
677impl std::fmt::Debug for super::request_options::ClientContext {
678 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
679 let mut debug_struct = f.debug_struct("ClientContext");
680 debug_struct.field("secure_context", &self.secure_context);
681 if !self._unknown_fields.is_empty() {
682 debug_struct.field("_unknown_fields", &self._unknown_fields);
683 }
684 debug_struct.finish()
685 }
686}
687
688impl std::fmt::Debug for super::DirectedReadOptions {
689 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
690 let mut debug_struct = f.debug_struct("DirectedReadOptions");
691 debug_struct.field("replicas", &self.replicas);
692 if !self._unknown_fields.is_empty() {
693 debug_struct.field("_unknown_fields", &self._unknown_fields);
694 }
695 debug_struct.finish()
696 }
697}
698
699impl std::fmt::Debug for super::directed_read_options::ReplicaSelection {
700 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
701 let mut debug_struct = f.debug_struct("ReplicaSelection");
702 debug_struct.field("location", &self.location);
703 debug_struct.field("r#type", &self.r#type);
704 if !self._unknown_fields.is_empty() {
705 debug_struct.field("_unknown_fields", &self._unknown_fields);
706 }
707 debug_struct.finish()
708 }
709}
710
711impl std::fmt::Debug for super::directed_read_options::IncludeReplicas {
712 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
713 let mut debug_struct = f.debug_struct("IncludeReplicas");
714 debug_struct.field("replica_selections", &self.replica_selections);
715 debug_struct.field("auto_failover_disabled", &self.auto_failover_disabled);
716 if !self._unknown_fields.is_empty() {
717 debug_struct.field("_unknown_fields", &self._unknown_fields);
718 }
719 debug_struct.finish()
720 }
721}
722
723impl std::fmt::Debug for super::directed_read_options::ExcludeReplicas {
724 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
725 let mut debug_struct = f.debug_struct("ExcludeReplicas");
726 debug_struct.field("replica_selections", &self.replica_selections);
727 if !self._unknown_fields.is_empty() {
728 debug_struct.field("_unknown_fields", &self._unknown_fields);
729 }
730 debug_struct.finish()
731 }
732}
733
734impl std::fmt::Debug for super::ExecuteSqlRequest {
735 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
736 let mut debug_struct = f.debug_struct("ExecuteSqlRequest");
737 debug_struct.field("session", &self.session);
738 debug_struct.field("transaction", &self.transaction);
739 debug_struct.field("sql", &self.sql);
740 debug_struct.field("params", &self.params);
741 debug_struct.field("param_types", &self.param_types);
742 debug_struct.field("resume_token", &self.resume_token);
743 debug_struct.field("query_mode", &self.query_mode);
744 debug_struct.field("partition_token", &self.partition_token);
745 debug_struct.field("seqno", &self.seqno);
746 debug_struct.field("query_options", &self.query_options);
747 debug_struct.field("request_options", &self.request_options);
748 debug_struct.field("directed_read_options", &self.directed_read_options);
749 debug_struct.field("data_boost_enabled", &self.data_boost_enabled);
750 debug_struct.field("last_statement", &self.last_statement);
751 debug_struct.field("routing_hint", &self.routing_hint);
752 if !self._unknown_fields.is_empty() {
753 debug_struct.field("_unknown_fields", &self._unknown_fields);
754 }
755 debug_struct.finish()
756 }
757}
758
759impl std::fmt::Debug for super::execute_sql_request::QueryOptions {
760 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
761 let mut debug_struct = f.debug_struct("QueryOptions");
762 debug_struct.field("optimizer_version", &self.optimizer_version);
763 debug_struct.field(
764 "optimizer_statistics_package",
765 &self.optimizer_statistics_package,
766 );
767 if !self._unknown_fields.is_empty() {
768 debug_struct.field("_unknown_fields", &self._unknown_fields);
769 }
770 debug_struct.finish()
771 }
772}
773
774impl std::fmt::Debug for super::ExecuteBatchDmlRequest {
775 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
776 let mut debug_struct = f.debug_struct("ExecuteBatchDmlRequest");
777 debug_struct.field("session", &self.session);
778 debug_struct.field("transaction", &self.transaction);
779 debug_struct.field("statements", &self.statements);
780 debug_struct.field("seqno", &self.seqno);
781 debug_struct.field("request_options", &self.request_options);
782 debug_struct.field("last_statements", &self.last_statements);
783 if !self._unknown_fields.is_empty() {
784 debug_struct.field("_unknown_fields", &self._unknown_fields);
785 }
786 debug_struct.finish()
787 }
788}
789
790impl std::fmt::Debug for super::execute_batch_dml_request::Statement {
791 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
792 let mut debug_struct = f.debug_struct("Statement");
793 debug_struct.field("sql", &self.sql);
794 debug_struct.field("params", &self.params);
795 debug_struct.field("param_types", &self.param_types);
796 if !self._unknown_fields.is_empty() {
797 debug_struct.field("_unknown_fields", &self._unknown_fields);
798 }
799 debug_struct.finish()
800 }
801}
802
803impl std::fmt::Debug for super::ExecuteBatchDmlResponse {
804 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
805 let mut debug_struct = f.debug_struct("ExecuteBatchDmlResponse");
806 debug_struct.field("result_sets", &self.result_sets);
807 debug_struct.field("status", &self.status);
808 debug_struct.field("precommit_token", &self.precommit_token);
809 if !self._unknown_fields.is_empty() {
810 debug_struct.field("_unknown_fields", &self._unknown_fields);
811 }
812 debug_struct.finish()
813 }
814}
815
816impl std::fmt::Debug for super::PartitionOptions {
817 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
818 let mut debug_struct = f.debug_struct("PartitionOptions");
819 debug_struct.field("partition_size_bytes", &self.partition_size_bytes);
820 debug_struct.field("max_partitions", &self.max_partitions);
821 if !self._unknown_fields.is_empty() {
822 debug_struct.field("_unknown_fields", &self._unknown_fields);
823 }
824 debug_struct.finish()
825 }
826}
827
828impl std::fmt::Debug for super::PartitionQueryRequest {
829 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
830 let mut debug_struct = f.debug_struct("PartitionQueryRequest");
831 debug_struct.field("session", &self.session);
832 debug_struct.field("transaction", &self.transaction);
833 debug_struct.field("sql", &self.sql);
834 debug_struct.field("params", &self.params);
835 debug_struct.field("param_types", &self.param_types);
836 debug_struct.field("partition_options", &self.partition_options);
837 if !self._unknown_fields.is_empty() {
838 debug_struct.field("_unknown_fields", &self._unknown_fields);
839 }
840 debug_struct.finish()
841 }
842}
843
844impl std::fmt::Debug for super::PartitionReadRequest {
845 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
846 let mut debug_struct = f.debug_struct("PartitionReadRequest");
847 debug_struct.field("session", &self.session);
848 debug_struct.field("transaction", &self.transaction);
849 debug_struct.field("table", &self.table);
850 debug_struct.field("index", &self.index);
851 debug_struct.field("columns", &self.columns);
852 debug_struct.field("key_set", &self.key_set);
853 debug_struct.field("partition_options", &self.partition_options);
854 if !self._unknown_fields.is_empty() {
855 debug_struct.field("_unknown_fields", &self._unknown_fields);
856 }
857 debug_struct.finish()
858 }
859}
860
861impl std::fmt::Debug for super::Partition {
862 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
863 let mut debug_struct = f.debug_struct("Partition");
864 debug_struct.field("partition_token", &self.partition_token);
865 if !self._unknown_fields.is_empty() {
866 debug_struct.field("_unknown_fields", &self._unknown_fields);
867 }
868 debug_struct.finish()
869 }
870}
871
872impl std::fmt::Debug for super::PartitionResponse {
873 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
874 let mut debug_struct = f.debug_struct("PartitionResponse");
875 debug_struct.field("partitions", &self.partitions);
876 debug_struct.field("transaction", &self.transaction);
877 if !self._unknown_fields.is_empty() {
878 debug_struct.field("_unknown_fields", &self._unknown_fields);
879 }
880 debug_struct.finish()
881 }
882}
883
884impl std::fmt::Debug for super::ReadRequest {
885 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
886 let mut debug_struct = f.debug_struct("ReadRequest");
887 debug_struct.field("session", &self.session);
888 debug_struct.field("transaction", &self.transaction);
889 debug_struct.field("table", &self.table);
890 debug_struct.field("index", &self.index);
891 debug_struct.field("columns", &self.columns);
892 debug_struct.field("key_set", &self.key_set);
893 debug_struct.field("limit", &self.limit);
894 debug_struct.field("resume_token", &self.resume_token);
895 debug_struct.field("partition_token", &self.partition_token);
896 debug_struct.field("request_options", &self.request_options);
897 debug_struct.field("directed_read_options", &self.directed_read_options);
898 debug_struct.field("data_boost_enabled", &self.data_boost_enabled);
899 debug_struct.field("order_by", &self.order_by);
900 debug_struct.field("lock_hint", &self.lock_hint);
901 debug_struct.field("routing_hint", &self.routing_hint);
902 if !self._unknown_fields.is_empty() {
903 debug_struct.field("_unknown_fields", &self._unknown_fields);
904 }
905 debug_struct.finish()
906 }
907}
908
909impl std::fmt::Debug for super::BeginTransactionRequest {
910 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
911 let mut debug_struct = f.debug_struct("BeginTransactionRequest");
912 debug_struct.field("session", &self.session);
913 debug_struct.field("options", &self.options);
914 debug_struct.field("request_options", &self.request_options);
915 debug_struct.field("mutation_key", &self.mutation_key);
916 debug_struct.field("routing_hint", &self.routing_hint);
917 if !self._unknown_fields.is_empty() {
918 debug_struct.field("_unknown_fields", &self._unknown_fields);
919 }
920 debug_struct.finish()
921 }
922}
923
924impl std::fmt::Debug for super::CommitRequest {
925 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
926 let mut debug_struct = f.debug_struct("CommitRequest");
927 debug_struct.field("session", &self.session);
928 debug_struct.field("mutations", &self.mutations);
929 debug_struct.field("return_commit_stats", &self.return_commit_stats);
930 debug_struct.field("max_commit_delay", &self.max_commit_delay);
931 debug_struct.field("request_options", &self.request_options);
932 debug_struct.field("precommit_token", &self.precommit_token);
933 debug_struct.field("routing_hint", &self.routing_hint);
934 debug_struct.field("transaction", &self.transaction);
935 if !self._unknown_fields.is_empty() {
936 debug_struct.field("_unknown_fields", &self._unknown_fields);
937 }
938 debug_struct.finish()
939 }
940}
941
942impl std::fmt::Debug for super::RollbackRequest {
943 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
944 let mut debug_struct = f.debug_struct("RollbackRequest");
945 debug_struct.field("session", &self.session);
946 debug_struct.field("transaction_id", &self.transaction_id);
947 if !self._unknown_fields.is_empty() {
948 debug_struct.field("_unknown_fields", &self._unknown_fields);
949 }
950 debug_struct.finish()
951 }
952}
953
954impl std::fmt::Debug for super::BatchWriteRequest {
955 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
956 let mut debug_struct = f.debug_struct("BatchWriteRequest");
957 debug_struct.field("session", &self.session);
958 debug_struct.field("request_options", &self.request_options);
959 debug_struct.field("mutation_groups", &self.mutation_groups);
960 debug_struct.field(
961 "exclude_txn_from_change_streams",
962 &self.exclude_txn_from_change_streams,
963 );
964 if !self._unknown_fields.is_empty() {
965 debug_struct.field("_unknown_fields", &self._unknown_fields);
966 }
967 debug_struct.finish()
968 }
969}
970
971impl std::fmt::Debug for super::batch_write_request::MutationGroup {
972 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
973 let mut debug_struct = f.debug_struct("MutationGroup");
974 debug_struct.field("mutations", &self.mutations);
975 if !self._unknown_fields.is_empty() {
976 debug_struct.field("_unknown_fields", &self._unknown_fields);
977 }
978 debug_struct.finish()
979 }
980}
981
982impl std::fmt::Debug for super::BatchWriteResponse {
983 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
984 let mut debug_struct = f.debug_struct("BatchWriteResponse");
985 debug_struct.field("indexes", &self.indexes);
986 debug_struct.field("status", &self.status);
987 debug_struct.field("commit_timestamp", &self.commit_timestamp);
988 if !self._unknown_fields.is_empty() {
989 debug_struct.field("_unknown_fields", &self._unknown_fields);
990 }
991 debug_struct.finish()
992 }
993}
994
995impl std::fmt::Debug for super::FetchCacheUpdateRequest {
996 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
997 let mut debug_struct = f.debug_struct("FetchCacheUpdateRequest");
998 debug_struct.field("database", &self.database);
999 debug_struct.field("max_recipe_count", &self.max_recipe_count);
1000 debug_struct.field("max_range_count", &self.max_range_count);
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::TransactionOptions {
1009 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1010 let mut debug_struct = f.debug_struct("TransactionOptions");
1011 debug_struct.field(
1012 "exclude_txn_from_change_streams",
1013 &self.exclude_txn_from_change_streams,
1014 );
1015 debug_struct.field("isolation_level", &self.isolation_level);
1016 debug_struct.field("mode", &self.mode);
1017 if !self._unknown_fields.is_empty() {
1018 debug_struct.field("_unknown_fields", &self._unknown_fields);
1019 }
1020 debug_struct.finish()
1021 }
1022}
1023
1024impl std::fmt::Debug for super::transaction_options::ReadWrite {
1025 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1026 let mut debug_struct = f.debug_struct("ReadWrite");
1027 debug_struct.field("read_lock_mode", &self.read_lock_mode);
1028 debug_struct.field(
1029 "multiplexed_session_previous_transaction_id",
1030 &self.multiplexed_session_previous_transaction_id,
1031 );
1032 if !self._unknown_fields.is_empty() {
1033 debug_struct.field("_unknown_fields", &self._unknown_fields);
1034 }
1035 debug_struct.finish()
1036 }
1037}
1038
1039impl std::fmt::Debug for super::transaction_options::PartitionedDml {
1040 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1041 let mut debug_struct = f.debug_struct("PartitionedDml");
1042 if !self._unknown_fields.is_empty() {
1043 debug_struct.field("_unknown_fields", &self._unknown_fields);
1044 }
1045 debug_struct.finish()
1046 }
1047}
1048
1049impl std::fmt::Debug for super::transaction_options::ReadOnly {
1050 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1051 let mut debug_struct = f.debug_struct("ReadOnly");
1052 debug_struct.field("return_read_timestamp", &self.return_read_timestamp);
1053 debug_struct.field("timestamp_bound", &self.timestamp_bound);
1054 if !self._unknown_fields.is_empty() {
1055 debug_struct.field("_unknown_fields", &self._unknown_fields);
1056 }
1057 debug_struct.finish()
1058 }
1059}
1060
1061impl std::fmt::Debug for super::Transaction {
1062 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1063 let mut debug_struct = f.debug_struct("Transaction");
1064 debug_struct.field("id", &self.id);
1065 debug_struct.field("read_timestamp", &self.read_timestamp);
1066 debug_struct.field("precommit_token", &self.precommit_token);
1067 debug_struct.field("cache_update", &self.cache_update);
1068 if !self._unknown_fields.is_empty() {
1069 debug_struct.field("_unknown_fields", &self._unknown_fields);
1070 }
1071 debug_struct.finish()
1072 }
1073}
1074
1075impl std::fmt::Debug for super::TransactionSelector {
1076 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1077 let mut debug_struct = f.debug_struct("TransactionSelector");
1078 debug_struct.field("selector", &self.selector);
1079 if !self._unknown_fields.is_empty() {
1080 debug_struct.field("_unknown_fields", &self._unknown_fields);
1081 }
1082 debug_struct.finish()
1083 }
1084}
1085
1086impl std::fmt::Debug for super::MultiplexedSessionPrecommitToken {
1087 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1088 let mut debug_struct = f.debug_struct("MultiplexedSessionPrecommitToken");
1089 debug_struct.field("precommit_token", &self.precommit_token);
1090 debug_struct.field("seq_num", &self.seq_num);
1091 if !self._unknown_fields.is_empty() {
1092 debug_struct.field("_unknown_fields", &self._unknown_fields);
1093 }
1094 debug_struct.finish()
1095 }
1096}
1097
1098impl std::fmt::Debug for super::Type {
1099 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1100 let mut debug_struct = f.debug_struct("Type");
1101 debug_struct.field("code", &self.code);
1102 debug_struct.field("array_element_type", &self.array_element_type);
1103 debug_struct.field("struct_type", &self.struct_type);
1104 debug_struct.field("type_annotation", &self.type_annotation);
1105 debug_struct.field("proto_type_fqn", &self.proto_type_fqn);
1106 if !self._unknown_fields.is_empty() {
1107 debug_struct.field("_unknown_fields", &self._unknown_fields);
1108 }
1109 debug_struct.finish()
1110 }
1111}
1112
1113impl std::fmt::Debug for super::StructType {
1114 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1115 let mut debug_struct = f.debug_struct("StructType");
1116 debug_struct.field("fields", &self.fields);
1117 if !self._unknown_fields.is_empty() {
1118 debug_struct.field("_unknown_fields", &self._unknown_fields);
1119 }
1120 debug_struct.finish()
1121 }
1122}
1123
1124impl std::fmt::Debug for super::struct_type::Field {
1125 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1126 let mut debug_struct = f.debug_struct("Field");
1127 debug_struct.field("name", &self.name);
1128 debug_struct.field("r#type", &self.r#type);
1129 if !self._unknown_fields.is_empty() {
1130 debug_struct.field("_unknown_fields", &self._unknown_fields);
1131 }
1132 debug_struct.finish()
1133 }
1134}