Skip to main content

google_cloud_bigquery/write/generated/gapic_storage/model/
debug.rs

1// Copyright 2026 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     https://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// Code generated by sidekick. DO NOT EDIT.
16
17#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::ArrowSchema {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("ArrowSchema");
23        debug_struct.field("serialized_schema", &self.serialized_schema);
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::ArrowRecordBatch {
32    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
33        let mut debug_struct = f.debug_struct("ArrowRecordBatch");
34        debug_struct.field("serialized_record_batch", &self.serialized_record_batch);
35        debug_struct.field("row_count", &self.row_count);
36        if !self._unknown_fields.is_empty() {
37            debug_struct.field("_unknown_fields", &self._unknown_fields);
38        }
39        debug_struct.finish()
40    }
41}
42
43impl std::fmt::Debug for super::ArrowSerializationOptions {
44    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
45        let mut debug_struct = f.debug_struct("ArrowSerializationOptions");
46        debug_struct.field("buffer_compression", &self.buffer_compression);
47        debug_struct.field("picos_timestamp_precision", &self.picos_timestamp_precision);
48        if !self._unknown_fields.is_empty() {
49            debug_struct.field("_unknown_fields", &self._unknown_fields);
50        }
51        debug_struct.finish()
52    }
53}
54
55impl std::fmt::Debug for super::AvroSchema {
56    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
57        let mut debug_struct = f.debug_struct("AvroSchema");
58        debug_struct.field("schema", &self.schema);
59        if !self._unknown_fields.is_empty() {
60            debug_struct.field("_unknown_fields", &self._unknown_fields);
61        }
62        debug_struct.finish()
63    }
64}
65
66impl std::fmt::Debug for super::AvroRows {
67    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
68        let mut debug_struct = f.debug_struct("AvroRows");
69        debug_struct.field("serialized_binary_rows", &self.serialized_binary_rows);
70        debug_struct.field("row_count", &self.row_count);
71        if !self._unknown_fields.is_empty() {
72            debug_struct.field("_unknown_fields", &self._unknown_fields);
73        }
74        debug_struct.finish()
75    }
76}
77
78impl std::fmt::Debug for super::AvroSerializationOptions {
79    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
80        let mut debug_struct = f.debug_struct("AvroSerializationOptions");
81        debug_struct.field(
82            "enable_display_name_attribute",
83            &self.enable_display_name_attribute,
84        );
85        debug_struct.field("picos_timestamp_precision", &self.picos_timestamp_precision);
86        if !self._unknown_fields.is_empty() {
87            debug_struct.field("_unknown_fields", &self._unknown_fields);
88        }
89        debug_struct.finish()
90    }
91}
92
93impl std::fmt::Debug for super::ProtoSchema {
94    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
95        let mut debug_struct = f.debug_struct("ProtoSchema");
96        debug_struct.field("proto_descriptor", &self.proto_descriptor);
97        if !self._unknown_fields.is_empty() {
98            debug_struct.field("_unknown_fields", &self._unknown_fields);
99        }
100        debug_struct.finish()
101    }
102}
103
104impl std::fmt::Debug for super::ProtoRows {
105    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
106        let mut debug_struct = f.debug_struct("ProtoRows");
107        debug_struct.field("serialized_rows", &self.serialized_rows);
108        if !self._unknown_fields.is_empty() {
109            debug_struct.field("_unknown_fields", &self._unknown_fields);
110        }
111        debug_struct.finish()
112    }
113}
114
115impl std::fmt::Debug for super::CreateReadSessionRequest {
116    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
117        let mut debug_struct = f.debug_struct("CreateReadSessionRequest");
118        debug_struct.field("parent", &self.parent);
119        debug_struct.field("read_session", &self.read_session);
120        debug_struct.field("max_stream_count", &self.max_stream_count);
121        debug_struct.field(
122            "preferred_min_stream_count",
123            &self.preferred_min_stream_count,
124        );
125        if !self._unknown_fields.is_empty() {
126            debug_struct.field("_unknown_fields", &self._unknown_fields);
127        }
128        debug_struct.finish()
129    }
130}
131
132impl std::fmt::Debug for super::ReadRowsRequest {
133    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
134        let mut debug_struct = f.debug_struct("ReadRowsRequest");
135        debug_struct.field("read_stream", &self.read_stream);
136        debug_struct.field("offset", &self.offset);
137        debug_struct.field(
138            "output_format_serialization_options",
139            &self.output_format_serialization_options,
140        );
141        if !self._unknown_fields.is_empty() {
142            debug_struct.field("_unknown_fields", &self._unknown_fields);
143        }
144        debug_struct.finish()
145    }
146}
147
148impl std::fmt::Debug for super::ThrottleState {
149    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
150        let mut debug_struct = f.debug_struct("ThrottleState");
151        debug_struct.field("throttle_percent", &self.throttle_percent);
152        if !self._unknown_fields.is_empty() {
153            debug_struct.field("_unknown_fields", &self._unknown_fields);
154        }
155        debug_struct.finish()
156    }
157}
158
159impl std::fmt::Debug for super::StreamStats {
160    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
161        let mut debug_struct = f.debug_struct("StreamStats");
162        debug_struct.field("progress", &self.progress);
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::stream_stats::Progress {
171    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
172        let mut debug_struct = f.debug_struct("Progress");
173        debug_struct.field("at_response_start", &self.at_response_start);
174        debug_struct.field("at_response_end", &self.at_response_end);
175        if !self._unknown_fields.is_empty() {
176            debug_struct.field("_unknown_fields", &self._unknown_fields);
177        }
178        debug_struct.finish()
179    }
180}
181
182impl std::fmt::Debug for super::ReadRowsResponse {
183    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
184        let mut debug_struct = f.debug_struct("ReadRowsResponse");
185        debug_struct.field("row_count", &self.row_count);
186        debug_struct.field("stats", &self.stats);
187        debug_struct.field("throttle_state", &self.throttle_state);
188        debug_struct.field("uncompressed_byte_size", &self.uncompressed_byte_size);
189        debug_struct.field("total_estimated_row_count", &self.total_estimated_row_count);
190        debug_struct.field("rows", &self.rows);
191        debug_struct.field("schema", &self.schema);
192        if !self._unknown_fields.is_empty() {
193            debug_struct.field("_unknown_fields", &self._unknown_fields);
194        }
195        debug_struct.finish()
196    }
197}
198
199impl std::fmt::Debug for super::SplitReadStreamRequest {
200    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
201        let mut debug_struct = f.debug_struct("SplitReadStreamRequest");
202        debug_struct.field("name", &self.name);
203        debug_struct.field("fraction", &self.fraction);
204        if !self._unknown_fields.is_empty() {
205            debug_struct.field("_unknown_fields", &self._unknown_fields);
206        }
207        debug_struct.finish()
208    }
209}
210
211impl std::fmt::Debug for super::SplitReadStreamResponse {
212    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
213        let mut debug_struct = f.debug_struct("SplitReadStreamResponse");
214        debug_struct.field("primary_stream", &self.primary_stream);
215        debug_struct.field("remainder_stream", &self.remainder_stream);
216        if !self._unknown_fields.is_empty() {
217            debug_struct.field("_unknown_fields", &self._unknown_fields);
218        }
219        debug_struct.finish()
220    }
221}
222
223impl std::fmt::Debug for super::CreateWriteStreamRequest {
224    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
225        let mut debug_struct = f.debug_struct("CreateWriteStreamRequest");
226        debug_struct.field("parent", &self.parent);
227        debug_struct.field("write_stream", &self.write_stream);
228        if !self._unknown_fields.is_empty() {
229            debug_struct.field("_unknown_fields", &self._unknown_fields);
230        }
231        debug_struct.finish()
232    }
233}
234
235impl std::fmt::Debug for super::AppendRowsRequest {
236    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
237        let mut debug_struct = f.debug_struct("AppendRowsRequest");
238        debug_struct.field("write_stream", &self.write_stream);
239        debug_struct.field("offset", &self.offset);
240        debug_struct.field("trace_id", &self.trace_id);
241        debug_struct.field(
242            "missing_value_interpretations",
243            &self.missing_value_interpretations,
244        );
245        debug_struct.field(
246            "default_missing_value_interpretation",
247            &self.default_missing_value_interpretation,
248        );
249        debug_struct.field("client_stats", &self.client_stats);
250        debug_struct.field("rows", &self.rows);
251        if !self._unknown_fields.is_empty() {
252            debug_struct.field("_unknown_fields", &self._unknown_fields);
253        }
254        debug_struct.finish()
255    }
256}
257
258impl std::fmt::Debug for super::append_rows_request::ArrowData {
259    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
260        let mut debug_struct = f.debug_struct("ArrowData");
261        debug_struct.field("writer_schema", &self.writer_schema);
262        debug_struct.field("rows", &self.rows);
263        if !self._unknown_fields.is_empty() {
264            debug_struct.field("_unknown_fields", &self._unknown_fields);
265        }
266        debug_struct.finish()
267    }
268}
269
270impl std::fmt::Debug for super::append_rows_request::ProtoData {
271    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
272        let mut debug_struct = f.debug_struct("ProtoData");
273        debug_struct.field("writer_schema", &self.writer_schema);
274        debug_struct.field("rows", &self.rows);
275        if !self._unknown_fields.is_empty() {
276            debug_struct.field("_unknown_fields", &self._unknown_fields);
277        }
278        debug_struct.finish()
279    }
280}
281
282impl std::fmt::Debug for super::AppendRowsResponse {
283    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
284        let mut debug_struct = f.debug_struct("AppendRowsResponse");
285        debug_struct.field("updated_schema", &self.updated_schema);
286        debug_struct.field("row_errors", &self.row_errors);
287        debug_struct.field("write_stream", &self.write_stream);
288        debug_struct.field("response", &self.response);
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::append_rows_response::AppendResult {
297    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
298        let mut debug_struct = f.debug_struct("AppendResult");
299        debug_struct.field("offset", &self.offset);
300        if !self._unknown_fields.is_empty() {
301            debug_struct.field("_unknown_fields", &self._unknown_fields);
302        }
303        debug_struct.finish()
304    }
305}
306
307impl std::fmt::Debug for super::GetWriteStreamRequest {
308    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
309        let mut debug_struct = f.debug_struct("GetWriteStreamRequest");
310        debug_struct.field("name", &self.name);
311        debug_struct.field("view", &self.view);
312        if !self._unknown_fields.is_empty() {
313            debug_struct.field("_unknown_fields", &self._unknown_fields);
314        }
315        debug_struct.finish()
316    }
317}
318
319impl std::fmt::Debug for super::BatchCommitWriteStreamsRequest {
320    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
321        let mut debug_struct = f.debug_struct("BatchCommitWriteStreamsRequest");
322        debug_struct.field("parent", &self.parent);
323        debug_struct.field("write_streams", &self.write_streams);
324        if !self._unknown_fields.is_empty() {
325            debug_struct.field("_unknown_fields", &self._unknown_fields);
326        }
327        debug_struct.finish()
328    }
329}
330
331impl std::fmt::Debug for super::BatchCommitWriteStreamsResponse {
332    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
333        let mut debug_struct = f.debug_struct("BatchCommitWriteStreamsResponse");
334        debug_struct.field("commit_time", &self.commit_time);
335        debug_struct.field("stream_errors", &self.stream_errors);
336        if !self._unknown_fields.is_empty() {
337            debug_struct.field("_unknown_fields", &self._unknown_fields);
338        }
339        debug_struct.finish()
340    }
341}
342
343impl std::fmt::Debug for super::FinalizeWriteStreamRequest {
344    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
345        let mut debug_struct = f.debug_struct("FinalizeWriteStreamRequest");
346        debug_struct.field("name", &self.name);
347        if !self._unknown_fields.is_empty() {
348            debug_struct.field("_unknown_fields", &self._unknown_fields);
349        }
350        debug_struct.finish()
351    }
352}
353
354impl std::fmt::Debug for super::FinalizeWriteStreamResponse {
355    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
356        let mut debug_struct = f.debug_struct("FinalizeWriteStreamResponse");
357        debug_struct.field("row_count", &self.row_count);
358        if !self._unknown_fields.is_empty() {
359            debug_struct.field("_unknown_fields", &self._unknown_fields);
360        }
361        debug_struct.finish()
362    }
363}
364
365impl std::fmt::Debug for super::FlushRowsRequest {
366    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
367        let mut debug_struct = f.debug_struct("FlushRowsRequest");
368        debug_struct.field("write_stream", &self.write_stream);
369        debug_struct.field("offset", &self.offset);
370        if !self._unknown_fields.is_empty() {
371            debug_struct.field("_unknown_fields", &self._unknown_fields);
372        }
373        debug_struct.finish()
374    }
375}
376
377impl std::fmt::Debug for super::FlushRowsResponse {
378    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
379        let mut debug_struct = f.debug_struct("FlushRowsResponse");
380        debug_struct.field("offset", &self.offset);
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::StorageError {
389    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
390        let mut debug_struct = f.debug_struct("StorageError");
391        debug_struct.field("code", &self.code);
392        debug_struct.field("entity", &self.entity);
393        debug_struct.field("error_message", &self.error_message);
394        if !self._unknown_fields.is_empty() {
395            debug_struct.field("_unknown_fields", &self._unknown_fields);
396        }
397        debug_struct.finish()
398    }
399}
400
401impl std::fmt::Debug for super::RowError {
402    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
403        let mut debug_struct = f.debug_struct("RowError");
404        debug_struct.field("index", &self.index);
405        debug_struct.field("code", &self.code);
406        debug_struct.field("message", &self.message);
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::ClientStats {
415    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
416        let mut debug_struct = f.debug_struct("ClientStats");
417        debug_struct.field("request_stats", &self.request_stats);
418        debug_struct.field("window_stats", &self.window_stats);
419        if !self._unknown_fields.is_empty() {
420            debug_struct.field("_unknown_fields", &self._unknown_fields);
421        }
422        debug_struct.finish()
423    }
424}
425
426impl std::fmt::Debug for super::client_stats::RequestStats {
427    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
428        let mut debug_struct = f.debug_struct("RequestStats");
429        debug_struct.field("send_time_millis", &self.send_time_millis);
430        debug_struct.field("queued_requests_count", &self.queued_requests_count);
431        if !self._unknown_fields.is_empty() {
432            debug_struct.field("_unknown_fields", &self._unknown_fields);
433        }
434        debug_struct.finish()
435    }
436}
437
438impl std::fmt::Debug for super::client_stats::WindowStats {
439    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
440        let mut debug_struct = f.debug_struct("WindowStats");
441        debug_struct.field(
442            "max_response_latency_millis",
443            &self.max_response_latency_millis,
444        );
445        debug_struct.field(
446            "avg_response_latency_millis",
447            &self.avg_response_latency_millis,
448        );
449        debug_struct.field(
450            "longest_wait_no_response_millis",
451            &self.longest_wait_no_response_millis,
452        );
453        debug_struct.field("requests_sent_count", &self.requests_sent_count);
454        debug_struct.field("responses_received_count", &self.responses_received_count);
455        debug_struct.field("bytes_sent_count", &self.bytes_sent_count);
456        debug_struct.field(
457            "window_start_time_epoch_millis",
458            &self.window_start_time_epoch_millis,
459        );
460        debug_struct.field("window_millis", &self.window_millis);
461        if !self._unknown_fields.is_empty() {
462            debug_struct.field("_unknown_fields", &self._unknown_fields);
463        }
464        debug_struct.finish()
465    }
466}
467
468impl std::fmt::Debug for super::ReadSession {
469    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
470        let mut debug_struct = f.debug_struct("ReadSession");
471        debug_struct.field("name", &self.name);
472        debug_struct.field("expire_time", &self.expire_time);
473        debug_struct.field("data_format", &self.data_format);
474        debug_struct.field("table", &self.table);
475        debug_struct.field("table_modifiers", &self.table_modifiers);
476        debug_struct.field("read_options", &self.read_options);
477        debug_struct.field("streams", &self.streams);
478        debug_struct.field(
479            "estimated_total_bytes_scanned",
480            &self.estimated_total_bytes_scanned,
481        );
482        debug_struct.field(
483            "estimated_total_physical_file_size",
484            &self.estimated_total_physical_file_size,
485        );
486        debug_struct.field("estimated_row_count", &self.estimated_row_count);
487        debug_struct.field("trace_id", &self.trace_id);
488        debug_struct.field("schema", &self.schema);
489        if !self._unknown_fields.is_empty() {
490            debug_struct.field("_unknown_fields", &self._unknown_fields);
491        }
492        debug_struct.finish()
493    }
494}
495
496impl std::fmt::Debug for super::read_session::TableModifiers {
497    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
498        let mut debug_struct = f.debug_struct("TableModifiers");
499        debug_struct.field("snapshot_time", &self.snapshot_time);
500        if !self._unknown_fields.is_empty() {
501            debug_struct.field("_unknown_fields", &self._unknown_fields);
502        }
503        debug_struct.finish()
504    }
505}
506
507impl std::fmt::Debug for super::read_session::TableReadOptions {
508    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
509        let mut debug_struct = f.debug_struct("TableReadOptions");
510        debug_struct.field("selected_fields", &self.selected_fields);
511        debug_struct.field("row_restriction", &self.row_restriction);
512        debug_struct.field("sample_percentage", &self.sample_percentage);
513        debug_struct.field(
514            "response_compression_codec",
515            &self.response_compression_codec,
516        );
517        debug_struct.field(
518            "output_format_serialization_options",
519            &self.output_format_serialization_options,
520        );
521        if !self._unknown_fields.is_empty() {
522            debug_struct.field("_unknown_fields", &self._unknown_fields);
523        }
524        debug_struct.finish()
525    }
526}
527
528impl std::fmt::Debug for super::ReadStream {
529    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
530        let mut debug_struct = f.debug_struct("ReadStream");
531        debug_struct.field("name", &self.name);
532        if !self._unknown_fields.is_empty() {
533            debug_struct.field("_unknown_fields", &self._unknown_fields);
534        }
535        debug_struct.finish()
536    }
537}
538
539impl std::fmt::Debug for super::WriteStream {
540    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
541        let mut debug_struct = f.debug_struct("WriteStream");
542        debug_struct.field("name", &self.name);
543        debug_struct.field("r#type", &self.r#type);
544        debug_struct.field("create_time", &self.create_time);
545        debug_struct.field("commit_time", &self.commit_time);
546        debug_struct.field("table_schema", &self.table_schema);
547        debug_struct.field("write_mode", &self.write_mode);
548        debug_struct.field("location", &self.location);
549        if !self._unknown_fields.is_empty() {
550            debug_struct.field("_unknown_fields", &self._unknown_fields);
551        }
552        debug_struct.finish()
553    }
554}
555
556impl std::fmt::Debug for super::TableSchema {
557    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
558        let mut debug_struct = f.debug_struct("TableSchema");
559        debug_struct.field("fields", &self.fields);
560        if !self._unknown_fields.is_empty() {
561            debug_struct.field("_unknown_fields", &self._unknown_fields);
562        }
563        debug_struct.finish()
564    }
565}
566
567impl std::fmt::Debug for super::TableFieldSchema {
568    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
569        let mut debug_struct = f.debug_struct("TableFieldSchema");
570        debug_struct.field("name", &self.name);
571        debug_struct.field("r#type", &self.r#type);
572        debug_struct.field("mode", &self.mode);
573        debug_struct.field("fields", &self.fields);
574        debug_struct.field("description", &self.description);
575        debug_struct.field("max_length", &self.max_length);
576        debug_struct.field("precision", &self.precision);
577        debug_struct.field("scale", &self.scale);
578        debug_struct.field("default_value_expression", &self.default_value_expression);
579        debug_struct.field("timestamp_precision", &self.timestamp_precision);
580        debug_struct.field("range_element_type", &self.range_element_type);
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::table_field_schema::FieldElementType {
589    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
590        let mut debug_struct = f.debug_struct("FieldElementType");
591        debug_struct.field("r#type", &self.r#type);
592        if !self._unknown_fields.is_empty() {
593            debug_struct.field("_unknown_fields", &self._unknown_fields);
594        }
595        debug_struct.finish()
596    }
597}