google_cloud_memorystore_v1/model/
debug.rs

1// Copyright 2025 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::Instance {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("Instance");
23        debug_struct.field("name", &self.name);
24        debug_struct.field("create_time", &self.create_time);
25        debug_struct.field("update_time", &self.update_time);
26        debug_struct.field("labels", &self.labels);
27        debug_struct.field("state", &self.state);
28        debug_struct.field("state_info", &self.state_info);
29        debug_struct.field("uid", &self.uid);
30        debug_struct.field("replica_count", &self.replica_count);
31        debug_struct.field("authorization_mode", &self.authorization_mode);
32        debug_struct.field("transit_encryption_mode", &self.transit_encryption_mode);
33        debug_struct.field("shard_count", &self.shard_count);
34        debug_struct.field("discovery_endpoints", &self.discovery_endpoints);
35        debug_struct.field("node_type", &self.node_type);
36        debug_struct.field("persistence_config", &self.persistence_config);
37        debug_struct.field("engine_version", &self.engine_version);
38        debug_struct.field("engine_configs", &self.engine_configs);
39        debug_struct.field("node_config", &self.node_config);
40        debug_struct.field("zone_distribution_config", &self.zone_distribution_config);
41        debug_struct.field(
42            "deletion_protection_enabled",
43            &self.deletion_protection_enabled,
44        );
45        debug_struct.field("psc_auto_connections", &self.psc_auto_connections);
46        debug_struct.field("psc_attachment_details", &self.psc_attachment_details);
47        debug_struct.field("endpoints", &self.endpoints);
48        debug_struct.field("mode", &self.mode);
49        debug_struct.field(
50            "simulate_maintenance_event",
51            &self.simulate_maintenance_event,
52        );
53        debug_struct.field("ondemand_maintenance", &self.ondemand_maintenance);
54        debug_struct.field("satisfies_pzs", &self.satisfies_pzs);
55        debug_struct.field("satisfies_pzi", &self.satisfies_pzi);
56        debug_struct.field("maintenance_policy", &self.maintenance_policy);
57        debug_struct.field("maintenance_schedule", &self.maintenance_schedule);
58        debug_struct.field(
59            "cross_instance_replication_config",
60            &self.cross_instance_replication_config,
61        );
62        debug_struct.field(
63            "async_instance_endpoints_deletion_enabled",
64            &self.async_instance_endpoints_deletion_enabled,
65        );
66        debug_struct.field("kms_key", &self.kms_key);
67        debug_struct.field("encryption_info", &self.encryption_info);
68        debug_struct.field("backup_collection", &self.backup_collection);
69        debug_struct.field("automated_backup_config", &self.automated_backup_config);
70        debug_struct.field("maintenance_version", &self.maintenance_version);
71        debug_struct.field(
72            "effective_maintenance_version",
73            &self.effective_maintenance_version,
74        );
75        debug_struct.field(
76            "available_maintenance_versions",
77            &self.available_maintenance_versions,
78        );
79        debug_struct.field(
80            "allow_fewer_zones_deployment",
81            &self.allow_fewer_zones_deployment,
82        );
83        debug_struct.field("import_sources", &self.import_sources);
84        if !self._unknown_fields.is_empty() {
85            debug_struct.field("_unknown_fields", &self._unknown_fields);
86        }
87        debug_struct.finish()
88    }
89}
90
91impl std::fmt::Debug for super::instance::StateInfo {
92    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
93        let mut debug_struct = f.debug_struct("StateInfo");
94        debug_struct.field("info", &self.info);
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::instance::state_info::UpdateInfo {
103    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
104        let mut debug_struct = f.debug_struct("UpdateInfo");
105        debug_struct.field("target_shard_count", &self.target_shard_count);
106        debug_struct.field("target_replica_count", &self.target_replica_count);
107        debug_struct.field("target_engine_version", &self.target_engine_version);
108        debug_struct.field("target_node_type", &self.target_node_type);
109        if !self._unknown_fields.is_empty() {
110            debug_struct.field("_unknown_fields", &self._unknown_fields);
111        }
112        debug_struct.finish()
113    }
114}
115
116impl std::fmt::Debug for super::instance::GcsBackupSource {
117    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
118        let mut debug_struct = f.debug_struct("GcsBackupSource");
119        debug_struct.field("uris", &self.uris);
120        if !self._unknown_fields.is_empty() {
121            debug_struct.field("_unknown_fields", &self._unknown_fields);
122        }
123        debug_struct.finish()
124    }
125}
126
127impl std::fmt::Debug for super::instance::ManagedBackupSource {
128    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
129        let mut debug_struct = f.debug_struct("ManagedBackupSource");
130        debug_struct.field("backup", &self.backup);
131        if !self._unknown_fields.is_empty() {
132            debug_struct.field("_unknown_fields", &self._unknown_fields);
133        }
134        debug_struct.finish()
135    }
136}
137
138impl std::fmt::Debug for super::instance::InstanceEndpoint {
139    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
140        let mut debug_struct = f.debug_struct("InstanceEndpoint");
141        debug_struct.field("connections", &self.connections);
142        if !self._unknown_fields.is_empty() {
143            debug_struct.field("_unknown_fields", &self._unknown_fields);
144        }
145        debug_struct.finish()
146    }
147}
148
149impl std::fmt::Debug for super::instance::ConnectionDetail {
150    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
151        let mut debug_struct = f.debug_struct("ConnectionDetail");
152        debug_struct.field("connection", &self.connection);
153        if !self._unknown_fields.is_empty() {
154            debug_struct.field("_unknown_fields", &self._unknown_fields);
155        }
156        debug_struct.finish()
157    }
158}
159
160impl std::fmt::Debug for super::AutomatedBackupConfig {
161    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
162        let mut debug_struct = f.debug_struct("AutomatedBackupConfig");
163        debug_struct.field("automated_backup_mode", &self.automated_backup_mode);
164        debug_struct.field("retention", &self.retention);
165        debug_struct.field("schedule", &self.schedule);
166        if !self._unknown_fields.is_empty() {
167            debug_struct.field("_unknown_fields", &self._unknown_fields);
168        }
169        debug_struct.finish()
170    }
171}
172
173impl std::fmt::Debug for super::automated_backup_config::FixedFrequencySchedule {
174    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
175        let mut debug_struct = f.debug_struct("FixedFrequencySchedule");
176        debug_struct.field("start_time", &self.start_time);
177        if !self._unknown_fields.is_empty() {
178            debug_struct.field("_unknown_fields", &self._unknown_fields);
179        }
180        debug_struct.finish()
181    }
182}
183
184impl std::fmt::Debug for super::BackupCollection {
185    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
186        let mut debug_struct = f.debug_struct("BackupCollection");
187        debug_struct.field("name", &self.name);
188        debug_struct.field("instance_uid", &self.instance_uid);
189        debug_struct.field("instance", &self.instance);
190        debug_struct.field("kms_key", &self.kms_key);
191        debug_struct.field("uid", &self.uid);
192        debug_struct.field("create_time", &self.create_time);
193        debug_struct.field("total_backup_size_bytes", &self.total_backup_size_bytes);
194        debug_struct.field("total_backup_count", &self.total_backup_count);
195        debug_struct.field("last_backup_time", &self.last_backup_time);
196        if !self._unknown_fields.is_empty() {
197            debug_struct.field("_unknown_fields", &self._unknown_fields);
198        }
199        debug_struct.finish()
200    }
201}
202
203impl std::fmt::Debug for super::Backup {
204    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
205        let mut debug_struct = f.debug_struct("Backup");
206        debug_struct.field("name", &self.name);
207        debug_struct.field("create_time", &self.create_time);
208        debug_struct.field("instance", &self.instance);
209        debug_struct.field("instance_uid", &self.instance_uid);
210        debug_struct.field("total_size_bytes", &self.total_size_bytes);
211        debug_struct.field("expire_time", &self.expire_time);
212        debug_struct.field("engine_version", &self.engine_version);
213        debug_struct.field("backup_files", &self.backup_files);
214        debug_struct.field("node_type", &self.node_type);
215        debug_struct.field("replica_count", &self.replica_count);
216        debug_struct.field("shard_count", &self.shard_count);
217        debug_struct.field("backup_type", &self.backup_type);
218        debug_struct.field("state", &self.state);
219        debug_struct.field("encryption_info", &self.encryption_info);
220        debug_struct.field("uid", &self.uid);
221        if !self._unknown_fields.is_empty() {
222            debug_struct.field("_unknown_fields", &self._unknown_fields);
223        }
224        debug_struct.finish()
225    }
226}
227
228impl std::fmt::Debug for super::BackupFile {
229    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
230        let mut debug_struct = f.debug_struct("BackupFile");
231        debug_struct.field("file_name", &self.file_name);
232        debug_struct.field("size_bytes", &self.size_bytes);
233        debug_struct.field("create_time", &self.create_time);
234        if !self._unknown_fields.is_empty() {
235            debug_struct.field("_unknown_fields", &self._unknown_fields);
236        }
237        debug_struct.finish()
238    }
239}
240
241impl std::fmt::Debug for super::CrossInstanceReplicationConfig {
242    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
243        let mut debug_struct = f.debug_struct("CrossInstanceReplicationConfig");
244        debug_struct.field("instance_role", &self.instance_role);
245        debug_struct.field("primary_instance", &self.primary_instance);
246        debug_struct.field("secondary_instances", &self.secondary_instances);
247        debug_struct.field("update_time", &self.update_time);
248        debug_struct.field("membership", &self.membership);
249        if !self._unknown_fields.is_empty() {
250            debug_struct.field("_unknown_fields", &self._unknown_fields);
251        }
252        debug_struct.finish()
253    }
254}
255
256impl std::fmt::Debug for super::cross_instance_replication_config::RemoteInstance {
257    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
258        let mut debug_struct = f.debug_struct("RemoteInstance");
259        debug_struct.field("instance", &self.instance);
260        debug_struct.field("uid", &self.uid);
261        if !self._unknown_fields.is_empty() {
262            debug_struct.field("_unknown_fields", &self._unknown_fields);
263        }
264        debug_struct.finish()
265    }
266}
267
268impl std::fmt::Debug for super::cross_instance_replication_config::Membership {
269    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
270        let mut debug_struct = f.debug_struct("Membership");
271        debug_struct.field("primary_instance", &self.primary_instance);
272        debug_struct.field("secondary_instances", &self.secondary_instances);
273        if !self._unknown_fields.is_empty() {
274            debug_struct.field("_unknown_fields", &self._unknown_fields);
275        }
276        debug_struct.finish()
277    }
278}
279
280impl std::fmt::Debug for super::MaintenancePolicy {
281    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
282        let mut debug_struct = f.debug_struct("MaintenancePolicy");
283        debug_struct.field("create_time", &self.create_time);
284        debug_struct.field("update_time", &self.update_time);
285        debug_struct.field("weekly_maintenance_window", &self.weekly_maintenance_window);
286        if !self._unknown_fields.is_empty() {
287            debug_struct.field("_unknown_fields", &self._unknown_fields);
288        }
289        debug_struct.finish()
290    }
291}
292
293impl std::fmt::Debug for super::WeeklyMaintenanceWindow {
294    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
295        let mut debug_struct = f.debug_struct("WeeklyMaintenanceWindow");
296        debug_struct.field("day", &self.day);
297        debug_struct.field("start_time", &self.start_time);
298        if !self._unknown_fields.is_empty() {
299            debug_struct.field("_unknown_fields", &self._unknown_fields);
300        }
301        debug_struct.finish()
302    }
303}
304
305impl std::fmt::Debug for super::MaintenanceSchedule {
306    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
307        let mut debug_struct = f.debug_struct("MaintenanceSchedule");
308        debug_struct.field("start_time", &self.start_time);
309        debug_struct.field("end_time", &self.end_time);
310        if !self._unknown_fields.is_empty() {
311            debug_struct.field("_unknown_fields", &self._unknown_fields);
312        }
313        debug_struct.finish()
314    }
315}
316
317impl std::fmt::Debug for super::PscAttachmentDetail {
318    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
319        let mut debug_struct = f.debug_struct("PscAttachmentDetail");
320        debug_struct.field("service_attachment", &self.service_attachment);
321        debug_struct.field("connection_type", &self.connection_type);
322        if !self._unknown_fields.is_empty() {
323            debug_struct.field("_unknown_fields", &self._unknown_fields);
324        }
325        debug_struct.finish()
326    }
327}
328
329impl std::fmt::Debug for super::PscAutoConnection {
330    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
331        let mut debug_struct = f.debug_struct("PscAutoConnection");
332        debug_struct.field("psc_connection_id", &self.psc_connection_id);
333        debug_struct.field("ip_address", &self.ip_address);
334        debug_struct.field("forwarding_rule", &self.forwarding_rule);
335        debug_struct.field("project_id", &self.project_id);
336        debug_struct.field("network", &self.network);
337        debug_struct.field("service_attachment", &self.service_attachment);
338        debug_struct.field("psc_connection_status", &self.psc_connection_status);
339        debug_struct.field("connection_type", &self.connection_type);
340        debug_struct.field("ports", &self.ports);
341        if !self._unknown_fields.is_empty() {
342            debug_struct.field("_unknown_fields", &self._unknown_fields);
343        }
344        debug_struct.finish()
345    }
346}
347
348impl std::fmt::Debug for super::PscConnection {
349    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
350        let mut debug_struct = f.debug_struct("PscConnection");
351        debug_struct.field("psc_connection_id", &self.psc_connection_id);
352        debug_struct.field("ip_address", &self.ip_address);
353        debug_struct.field("forwarding_rule", &self.forwarding_rule);
354        debug_struct.field("project_id", &self.project_id);
355        debug_struct.field("network", &self.network);
356        debug_struct.field("service_attachment", &self.service_attachment);
357        debug_struct.field("psc_connection_status", &self.psc_connection_status);
358        debug_struct.field("connection_type", &self.connection_type);
359        debug_struct.field("ports", &self.ports);
360        if !self._unknown_fields.is_empty() {
361            debug_struct.field("_unknown_fields", &self._unknown_fields);
362        }
363        debug_struct.finish()
364    }
365}
366
367impl std::fmt::Debug for super::DiscoveryEndpoint {
368    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
369        let mut debug_struct = f.debug_struct("DiscoveryEndpoint");
370        debug_struct.field("address", &self.address);
371        debug_struct.field("port", &self.port);
372        debug_struct.field("network", &self.network);
373        if !self._unknown_fields.is_empty() {
374            debug_struct.field("_unknown_fields", &self._unknown_fields);
375        }
376        debug_struct.finish()
377    }
378}
379
380impl std::fmt::Debug for super::PersistenceConfig {
381    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
382        let mut debug_struct = f.debug_struct("PersistenceConfig");
383        debug_struct.field("mode", &self.mode);
384        debug_struct.field("rdb_config", &self.rdb_config);
385        debug_struct.field("aof_config", &self.aof_config);
386        if !self._unknown_fields.is_empty() {
387            debug_struct.field("_unknown_fields", &self._unknown_fields);
388        }
389        debug_struct.finish()
390    }
391}
392
393impl std::fmt::Debug for super::persistence_config::RDBConfig {
394    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
395        let mut debug_struct = f.debug_struct("RDBConfig");
396        debug_struct.field("rdb_snapshot_period", &self.rdb_snapshot_period);
397        debug_struct.field("rdb_snapshot_start_time", &self.rdb_snapshot_start_time);
398        if !self._unknown_fields.is_empty() {
399            debug_struct.field("_unknown_fields", &self._unknown_fields);
400        }
401        debug_struct.finish()
402    }
403}
404
405impl std::fmt::Debug for super::persistence_config::AOFConfig {
406    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
407        let mut debug_struct = f.debug_struct("AOFConfig");
408        debug_struct.field("append_fsync", &self.append_fsync);
409        if !self._unknown_fields.is_empty() {
410            debug_struct.field("_unknown_fields", &self._unknown_fields);
411        }
412        debug_struct.finish()
413    }
414}
415
416impl std::fmt::Debug for super::NodeConfig {
417    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
418        let mut debug_struct = f.debug_struct("NodeConfig");
419        debug_struct.field("size_gb", &self.size_gb);
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::ZoneDistributionConfig {
428    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
429        let mut debug_struct = f.debug_struct("ZoneDistributionConfig");
430        debug_struct.field("zone", &self.zone);
431        debug_struct.field("mode", &self.mode);
432        if !self._unknown_fields.is_empty() {
433            debug_struct.field("_unknown_fields", &self._unknown_fields);
434        }
435        debug_struct.finish()
436    }
437}
438
439impl std::fmt::Debug for super::RescheduleMaintenanceRequest {
440    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
441        let mut debug_struct = f.debug_struct("RescheduleMaintenanceRequest");
442        debug_struct.field("name", &self.name);
443        debug_struct.field("reschedule_type", &self.reschedule_type);
444        debug_struct.field("schedule_time", &self.schedule_time);
445        if !self._unknown_fields.is_empty() {
446            debug_struct.field("_unknown_fields", &self._unknown_fields);
447        }
448        debug_struct.finish()
449    }
450}
451
452impl std::fmt::Debug for super::ListInstancesRequest {
453    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
454        let mut debug_struct = f.debug_struct("ListInstancesRequest");
455        debug_struct.field("parent", &self.parent);
456        debug_struct.field("page_size", &self.page_size);
457        debug_struct.field("page_token", &self.page_token);
458        debug_struct.field("filter", &self.filter);
459        debug_struct.field("order_by", &self.order_by);
460        if !self._unknown_fields.is_empty() {
461            debug_struct.field("_unknown_fields", &self._unknown_fields);
462        }
463        debug_struct.finish()
464    }
465}
466
467impl std::fmt::Debug for super::ListInstancesResponse {
468    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
469        let mut debug_struct = f.debug_struct("ListInstancesResponse");
470        debug_struct.field("instances", &self.instances);
471        debug_struct.field("next_page_token", &self.next_page_token);
472        debug_struct.field("unreachable", &self.unreachable);
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::GetInstanceRequest {
481    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
482        let mut debug_struct = f.debug_struct("GetInstanceRequest");
483        debug_struct.field("name", &self.name);
484        if !self._unknown_fields.is_empty() {
485            debug_struct.field("_unknown_fields", &self._unknown_fields);
486        }
487        debug_struct.finish()
488    }
489}
490
491impl std::fmt::Debug for super::CreateInstanceRequest {
492    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
493        let mut debug_struct = f.debug_struct("CreateInstanceRequest");
494        debug_struct.field("parent", &self.parent);
495        debug_struct.field("instance_id", &self.instance_id);
496        debug_struct.field("instance", &self.instance);
497        debug_struct.field("request_id", &self.request_id);
498        if !self._unknown_fields.is_empty() {
499            debug_struct.field("_unknown_fields", &self._unknown_fields);
500        }
501        debug_struct.finish()
502    }
503}
504
505impl std::fmt::Debug for super::UpdateInstanceRequest {
506    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
507        let mut debug_struct = f.debug_struct("UpdateInstanceRequest");
508        debug_struct.field("update_mask", &self.update_mask);
509        debug_struct.field("instance", &self.instance);
510        debug_struct.field("request_id", &self.request_id);
511        if !self._unknown_fields.is_empty() {
512            debug_struct.field("_unknown_fields", &self._unknown_fields);
513        }
514        debug_struct.finish()
515    }
516}
517
518impl std::fmt::Debug for super::DeleteInstanceRequest {
519    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
520        let mut debug_struct = f.debug_struct("DeleteInstanceRequest");
521        debug_struct.field("name", &self.name);
522        debug_struct.field("request_id", &self.request_id);
523        if !self._unknown_fields.is_empty() {
524            debug_struct.field("_unknown_fields", &self._unknown_fields);
525        }
526        debug_struct.finish()
527    }
528}
529
530impl std::fmt::Debug for super::ListBackupCollectionsRequest {
531    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
532        let mut debug_struct = f.debug_struct("ListBackupCollectionsRequest");
533        debug_struct.field("parent", &self.parent);
534        debug_struct.field("page_size", &self.page_size);
535        debug_struct.field("page_token", &self.page_token);
536        if !self._unknown_fields.is_empty() {
537            debug_struct.field("_unknown_fields", &self._unknown_fields);
538        }
539        debug_struct.finish()
540    }
541}
542
543impl std::fmt::Debug for super::ListBackupCollectionsResponse {
544    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
545        let mut debug_struct = f.debug_struct("ListBackupCollectionsResponse");
546        debug_struct.field("backup_collections", &self.backup_collections);
547        debug_struct.field("next_page_token", &self.next_page_token);
548        debug_struct.field("unreachable", &self.unreachable);
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::GetBackupCollectionRequest {
557    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
558        let mut debug_struct = f.debug_struct("GetBackupCollectionRequest");
559        debug_struct.field("name", &self.name);
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::ListBackupsRequest {
568    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
569        let mut debug_struct = f.debug_struct("ListBackupsRequest");
570        debug_struct.field("parent", &self.parent);
571        debug_struct.field("page_size", &self.page_size);
572        debug_struct.field("page_token", &self.page_token);
573        if !self._unknown_fields.is_empty() {
574            debug_struct.field("_unknown_fields", &self._unknown_fields);
575        }
576        debug_struct.finish()
577    }
578}
579
580impl std::fmt::Debug for super::ListBackupsResponse {
581    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
582        let mut debug_struct = f.debug_struct("ListBackupsResponse");
583        debug_struct.field("backups", &self.backups);
584        debug_struct.field("next_page_token", &self.next_page_token);
585        debug_struct.field("unreachable", &self.unreachable);
586        if !self._unknown_fields.is_empty() {
587            debug_struct.field("_unknown_fields", &self._unknown_fields);
588        }
589        debug_struct.finish()
590    }
591}
592
593impl std::fmt::Debug for super::GetBackupRequest {
594    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
595        let mut debug_struct = f.debug_struct("GetBackupRequest");
596        debug_struct.field("name", &self.name);
597        if !self._unknown_fields.is_empty() {
598            debug_struct.field("_unknown_fields", &self._unknown_fields);
599        }
600        debug_struct.finish()
601    }
602}
603
604impl std::fmt::Debug for super::DeleteBackupRequest {
605    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
606        let mut debug_struct = f.debug_struct("DeleteBackupRequest");
607        debug_struct.field("name", &self.name);
608        debug_struct.field("request_id", &self.request_id);
609        if !self._unknown_fields.is_empty() {
610            debug_struct.field("_unknown_fields", &self._unknown_fields);
611        }
612        debug_struct.finish()
613    }
614}
615
616impl std::fmt::Debug for super::ExportBackupRequest {
617    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
618        let mut debug_struct = f.debug_struct("ExportBackupRequest");
619        debug_struct.field("name", &self.name);
620        debug_struct.field("destination", &self.destination);
621        if !self._unknown_fields.is_empty() {
622            debug_struct.field("_unknown_fields", &self._unknown_fields);
623        }
624        debug_struct.finish()
625    }
626}
627
628impl std::fmt::Debug for super::BackupInstanceRequest {
629    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
630        let mut debug_struct = f.debug_struct("BackupInstanceRequest");
631        debug_struct.field("name", &self.name);
632        debug_struct.field("ttl", &self.ttl);
633        debug_struct.field("backup_id", &self.backup_id);
634        if !self._unknown_fields.is_empty() {
635            debug_struct.field("_unknown_fields", &self._unknown_fields);
636        }
637        debug_struct.finish()
638    }
639}
640
641impl std::fmt::Debug for super::GetCertificateAuthorityRequest {
642    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
643        let mut debug_struct = f.debug_struct("GetCertificateAuthorityRequest");
644        debug_struct.field("name", &self.name);
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::CertificateAuthority {
653    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
654        let mut debug_struct = f.debug_struct("CertificateAuthority");
655        debug_struct.field("name", &self.name);
656        debug_struct.field("server_ca", &self.server_ca);
657        if !self._unknown_fields.is_empty() {
658            debug_struct.field("_unknown_fields", &self._unknown_fields);
659        }
660        debug_struct.finish()
661    }
662}
663
664impl std::fmt::Debug for super::certificate_authority::ManagedCertificateAuthority {
665    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
666        let mut debug_struct = f.debug_struct("ManagedCertificateAuthority");
667        debug_struct.field("ca_certs", &self.ca_certs);
668        if !self._unknown_fields.is_empty() {
669            debug_struct.field("_unknown_fields", &self._unknown_fields);
670        }
671        debug_struct.finish()
672    }
673}
674
675impl std::fmt::Debug for super::certificate_authority::managed_certificate_authority::CertChain {
676    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
677        let mut debug_struct = f.debug_struct("CertChain");
678        debug_struct.field("certificates", &self.certificates);
679        if !self._unknown_fields.is_empty() {
680            debug_struct.field("_unknown_fields", &self._unknown_fields);
681        }
682        debug_struct.finish()
683    }
684}
685
686impl std::fmt::Debug for super::OperationMetadata {
687    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
688        let mut debug_struct = f.debug_struct("OperationMetadata");
689        debug_struct.field("create_time", &self.create_time);
690        debug_struct.field("end_time", &self.end_time);
691        debug_struct.field("target", &self.target);
692        debug_struct.field("verb", &self.verb);
693        debug_struct.field("status_message", &self.status_message);
694        debug_struct.field("requested_cancellation", &self.requested_cancellation);
695        debug_struct.field("api_version", &self.api_version);
696        if !self._unknown_fields.is_empty() {
697            debug_struct.field("_unknown_fields", &self._unknown_fields);
698        }
699        debug_struct.finish()
700    }
701}
702
703impl std::fmt::Debug for super::EncryptionInfo {
704    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
705        let mut debug_struct = f.debug_struct("EncryptionInfo");
706        debug_struct.field("encryption_type", &self.encryption_type);
707        debug_struct.field("kms_key_versions", &self.kms_key_versions);
708        debug_struct.field("kms_key_primary_state", &self.kms_key_primary_state);
709        debug_struct.field("last_update_time", &self.last_update_time);
710        if !self._unknown_fields.is_empty() {
711            debug_struct.field("_unknown_fields", &self._unknown_fields);
712        }
713        debug_struct.finish()
714    }
715}