google_cloud_parallelstore_v1/model/
debug.rs1#[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("description", &self.description);
25 debug_struct.field("state", &self.state);
26 debug_struct.field("create_time", &self.create_time);
27 debug_struct.field("update_time", &self.update_time);
28 debug_struct.field("labels", &self.labels);
29 debug_struct.field("capacity_gib", &self.capacity_gib);
30 debug_struct.field("daos_version", &self.daos_version);
31 debug_struct.field("access_points", &self.access_points);
32 debug_struct.field("network", &self.network);
33 debug_struct.field("reserved_ip_range", &self.reserved_ip_range);
34 debug_struct.field(
35 "effective_reserved_ip_range",
36 &self.effective_reserved_ip_range,
37 );
38 debug_struct.field("file_stripe_level", &self.file_stripe_level);
39 debug_struct.field("directory_stripe_level", &self.directory_stripe_level);
40 debug_struct.field("deployment_type", &self.deployment_type);
41 if !self._unknown_fields.is_empty() {
42 debug_struct.field("_unknown_fields", &self._unknown_fields);
43 }
44 debug_struct.finish()
45 }
46}
47
48impl std::fmt::Debug for super::TransferMetadataOptions {
49 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
50 let mut debug_struct = f.debug_struct("TransferMetadataOptions");
51 debug_struct.field("uid", &self.uid);
52 debug_struct.field("gid", &self.gid);
53 debug_struct.field("mode", &self.mode);
54 if !self._unknown_fields.is_empty() {
55 debug_struct.field("_unknown_fields", &self._unknown_fields);
56 }
57 debug_struct.finish()
58 }
59}
60
61impl std::fmt::Debug for super::ListInstancesRequest {
62 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
63 let mut debug_struct = f.debug_struct("ListInstancesRequest");
64 debug_struct.field("parent", &self.parent);
65 debug_struct.field("page_size", &self.page_size);
66 debug_struct.field("page_token", &self.page_token);
67 debug_struct.field("filter", &self.filter);
68 debug_struct.field("order_by", &self.order_by);
69 if !self._unknown_fields.is_empty() {
70 debug_struct.field("_unknown_fields", &self._unknown_fields);
71 }
72 debug_struct.finish()
73 }
74}
75
76impl std::fmt::Debug for super::ListInstancesResponse {
77 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
78 let mut debug_struct = f.debug_struct("ListInstancesResponse");
79 debug_struct.field("instances", &self.instances);
80 debug_struct.field("next_page_token", &self.next_page_token);
81 debug_struct.field("unreachable", &self.unreachable);
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::GetInstanceRequest {
90 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
91 let mut debug_struct = f.debug_struct("GetInstanceRequest");
92 debug_struct.field("name", &self.name);
93 if !self._unknown_fields.is_empty() {
94 debug_struct.field("_unknown_fields", &self._unknown_fields);
95 }
96 debug_struct.finish()
97 }
98}
99
100impl std::fmt::Debug for super::CreateInstanceRequest {
101 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
102 let mut debug_struct = f.debug_struct("CreateInstanceRequest");
103 debug_struct.field("parent", &self.parent);
104 debug_struct.field("instance_id", &self.instance_id);
105 debug_struct.field("instance", &self.instance);
106 debug_struct.field("request_id", &self.request_id);
107 if !self._unknown_fields.is_empty() {
108 debug_struct.field("_unknown_fields", &self._unknown_fields);
109 }
110 debug_struct.finish()
111 }
112}
113
114impl std::fmt::Debug for super::UpdateInstanceRequest {
115 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
116 let mut debug_struct = f.debug_struct("UpdateInstanceRequest");
117 debug_struct.field("update_mask", &self.update_mask);
118 debug_struct.field("instance", &self.instance);
119 debug_struct.field("request_id", &self.request_id);
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::DeleteInstanceRequest {
128 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
129 let mut debug_struct = f.debug_struct("DeleteInstanceRequest");
130 debug_struct.field("name", &self.name);
131 debug_struct.field("request_id", &self.request_id);
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::OperationMetadata {
140 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
141 let mut debug_struct = f.debug_struct("OperationMetadata");
142 debug_struct.field("create_time", &self.create_time);
143 debug_struct.field("end_time", &self.end_time);
144 debug_struct.field("target", &self.target);
145 debug_struct.field("verb", &self.verb);
146 debug_struct.field("status_message", &self.status_message);
147 debug_struct.field("requested_cancellation", &self.requested_cancellation);
148 debug_struct.field("api_version", &self.api_version);
149 if !self._unknown_fields.is_empty() {
150 debug_struct.field("_unknown_fields", &self._unknown_fields);
151 }
152 debug_struct.finish()
153 }
154}
155
156impl std::fmt::Debug for super::SourceGcsBucket {
157 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
158 let mut debug_struct = f.debug_struct("SourceGcsBucket");
159 debug_struct.field("uri", &self.uri);
160 if !self._unknown_fields.is_empty() {
161 debug_struct.field("_unknown_fields", &self._unknown_fields);
162 }
163 debug_struct.finish()
164 }
165}
166
167impl std::fmt::Debug for super::DestinationGcsBucket {
168 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
169 let mut debug_struct = f.debug_struct("DestinationGcsBucket");
170 debug_struct.field("uri", &self.uri);
171 if !self._unknown_fields.is_empty() {
172 debug_struct.field("_unknown_fields", &self._unknown_fields);
173 }
174 debug_struct.finish()
175 }
176}
177
178impl std::fmt::Debug for super::SourceParallelstore {
179 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
180 let mut debug_struct = f.debug_struct("SourceParallelstore");
181 debug_struct.field("path", &self.path);
182 if !self._unknown_fields.is_empty() {
183 debug_struct.field("_unknown_fields", &self._unknown_fields);
184 }
185 debug_struct.finish()
186 }
187}
188
189impl std::fmt::Debug for super::DestinationParallelstore {
190 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
191 let mut debug_struct = f.debug_struct("DestinationParallelstore");
192 debug_struct.field("path", &self.path);
193 if !self._unknown_fields.is_empty() {
194 debug_struct.field("_unknown_fields", &self._unknown_fields);
195 }
196 debug_struct.finish()
197 }
198}
199
200impl std::fmt::Debug for super::ImportDataRequest {
201 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
202 let mut debug_struct = f.debug_struct("ImportDataRequest");
203 debug_struct.field("name", &self.name);
204 debug_struct.field("request_id", &self.request_id);
205 debug_struct.field("service_account", &self.service_account);
206 debug_struct.field("metadata_options", &self.metadata_options);
207 debug_struct.field("source", &self.source);
208 debug_struct.field("destination", &self.destination);
209 if !self._unknown_fields.is_empty() {
210 debug_struct.field("_unknown_fields", &self._unknown_fields);
211 }
212 debug_struct.finish()
213 }
214}
215
216impl std::fmt::Debug for super::ExportDataRequest {
217 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
218 let mut debug_struct = f.debug_struct("ExportDataRequest");
219 debug_struct.field("name", &self.name);
220 debug_struct.field("request_id", &self.request_id);
221 debug_struct.field("service_account", &self.service_account);
222 debug_struct.field("metadata_options", &self.metadata_options);
223 debug_struct.field("source", &self.source);
224 debug_struct.field("destination", &self.destination);
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::ImportDataResponse {
233 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
234 let mut debug_struct = f.debug_struct("ImportDataResponse");
235 if !self._unknown_fields.is_empty() {
236 debug_struct.field("_unknown_fields", &self._unknown_fields);
237 }
238 debug_struct.finish()
239 }
240}
241
242impl std::fmt::Debug for super::TransferErrorLogEntry {
243 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
244 let mut debug_struct = f.debug_struct("TransferErrorLogEntry");
245 debug_struct.field("uri", &self.uri);
246 debug_struct.field("error_details", &self.error_details);
247 if !self._unknown_fields.is_empty() {
248 debug_struct.field("_unknown_fields", &self._unknown_fields);
249 }
250 debug_struct.finish()
251 }
252}
253
254impl std::fmt::Debug for super::TransferErrorSummary {
255 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
256 let mut debug_struct = f.debug_struct("TransferErrorSummary");
257 debug_struct.field("error_code", &self.error_code);
258 debug_struct.field("error_count", &self.error_count);
259 debug_struct.field("error_log_entries", &self.error_log_entries);
260 if !self._unknown_fields.is_empty() {
261 debug_struct.field("_unknown_fields", &self._unknown_fields);
262 }
263 debug_struct.finish()
264 }
265}
266
267impl std::fmt::Debug for super::ImportDataMetadata {
268 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
269 let mut debug_struct = f.debug_struct("ImportDataMetadata");
270 debug_struct.field("operation_metadata", &self.operation_metadata);
271 debug_struct.field("create_time", &self.create_time);
272 debug_struct.field("end_time", &self.end_time);
273 debug_struct.field("target", &self.target);
274 debug_struct.field("verb", &self.verb);
275 debug_struct.field("status_message", &self.status_message);
276 debug_struct.field("requested_cancellation", &self.requested_cancellation);
277 debug_struct.field("api_version", &self.api_version);
278 if !self._unknown_fields.is_empty() {
279 debug_struct.field("_unknown_fields", &self._unknown_fields);
280 }
281 debug_struct.finish()
282 }
283}
284
285impl std::fmt::Debug for super::ExportDataResponse {
286 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
287 let mut debug_struct = f.debug_struct("ExportDataResponse");
288 if !self._unknown_fields.is_empty() {
289 debug_struct.field("_unknown_fields", &self._unknown_fields);
290 }
291 debug_struct.finish()
292 }
293}
294
295impl std::fmt::Debug for super::ExportDataMetadata {
296 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
297 let mut debug_struct = f.debug_struct("ExportDataMetadata");
298 debug_struct.field("operation_metadata", &self.operation_metadata);
299 debug_struct.field("create_time", &self.create_time);
300 debug_struct.field("end_time", &self.end_time);
301 debug_struct.field("target", &self.target);
302 debug_struct.field("verb", &self.verb);
303 debug_struct.field("status_message", &self.status_message);
304 debug_struct.field("requested_cancellation", &self.requested_cancellation);
305 debug_struct.field("api_version", &self.api_version);
306 if !self._unknown_fields.is_empty() {
307 debug_struct.field("_unknown_fields", &self._unknown_fields);
308 }
309 debug_struct.finish()
310 }
311}
312
313impl std::fmt::Debug for super::TransferOperationMetadata {
314 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
315 let mut debug_struct = f.debug_struct("TransferOperationMetadata");
316 debug_struct.field("counters", &self.counters);
317 debug_struct.field("transfer_type", &self.transfer_type);
318 debug_struct.field("error_summary", &self.error_summary);
319 debug_struct.field("source", &self.source);
320 debug_struct.field("destination", &self.destination);
321 if !self._unknown_fields.is_empty() {
322 debug_struct.field("_unknown_fields", &self._unknown_fields);
323 }
324 debug_struct.finish()
325 }
326}
327
328impl std::fmt::Debug for super::TransferCounters {
329 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
330 let mut debug_struct = f.debug_struct("TransferCounters");
331 debug_struct.field("objects_found", &self.objects_found);
332 debug_struct.field("bytes_found", &self.bytes_found);
333 debug_struct.field("objects_skipped", &self.objects_skipped);
334 debug_struct.field("bytes_skipped", &self.bytes_skipped);
335 debug_struct.field("objects_copied", &self.objects_copied);
336 debug_struct.field("bytes_copied", &self.bytes_copied);
337 debug_struct.field("objects_failed", &self.objects_failed);
338 debug_struct.field("bytes_failed", &self.bytes_failed);
339 if !self._unknown_fields.is_empty() {
340 debug_struct.field("_unknown_fields", &self._unknown_fields);
341 }
342 debug_struct.finish()
343 }
344}