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::ListInstancesRequest {
49 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
50 let mut debug_struct = f.debug_struct("ListInstancesRequest");
51 debug_struct.field("parent", &self.parent);
52 debug_struct.field("page_size", &self.page_size);
53 debug_struct.field("page_token", &self.page_token);
54 debug_struct.field("filter", &self.filter);
55 debug_struct.field("order_by", &self.order_by);
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::ListInstancesResponse {
64 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
65 let mut debug_struct = f.debug_struct("ListInstancesResponse");
66 debug_struct.field("instances", &self.instances);
67 debug_struct.field("next_page_token", &self.next_page_token);
68 debug_struct.field("unreachable", &self.unreachable);
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::GetInstanceRequest {
77 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
78 let mut debug_struct = f.debug_struct("GetInstanceRequest");
79 debug_struct.field("name", &self.name);
80 if !self._unknown_fields.is_empty() {
81 debug_struct.field("_unknown_fields", &self._unknown_fields);
82 }
83 debug_struct.finish()
84 }
85}
86
87impl std::fmt::Debug for super::CreateInstanceRequest {
88 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
89 let mut debug_struct = f.debug_struct("CreateInstanceRequest");
90 debug_struct.field("parent", &self.parent);
91 debug_struct.field("instance_id", &self.instance_id);
92 debug_struct.field("instance", &self.instance);
93 debug_struct.field("request_id", &self.request_id);
94 if !self._unknown_fields.is_empty() {
95 debug_struct.field("_unknown_fields", &self._unknown_fields);
96 }
97 debug_struct.finish()
98 }
99}
100
101impl std::fmt::Debug for super::UpdateInstanceRequest {
102 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
103 let mut debug_struct = f.debug_struct("UpdateInstanceRequest");
104 debug_struct.field("update_mask", &self.update_mask);
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::DeleteInstanceRequest {
115 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
116 let mut debug_struct = f.debug_struct("DeleteInstanceRequest");
117 debug_struct.field("name", &self.name);
118 debug_struct.field("request_id", &self.request_id);
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::OperationMetadata {
127 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
128 let mut debug_struct = f.debug_struct("OperationMetadata");
129 debug_struct.field("create_time", &self.create_time);
130 debug_struct.field("end_time", &self.end_time);
131 debug_struct.field("target", &self.target);
132 debug_struct.field("verb", &self.verb);
133 debug_struct.field("status_message", &self.status_message);
134 debug_struct.field("requested_cancellation", &self.requested_cancellation);
135 debug_struct.field("api_version", &self.api_version);
136 if !self._unknown_fields.is_empty() {
137 debug_struct.field("_unknown_fields", &self._unknown_fields);
138 }
139 debug_struct.finish()
140 }
141}
142
143impl std::fmt::Debug for super::SourceGcsBucket {
144 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
145 let mut debug_struct = f.debug_struct("SourceGcsBucket");
146 debug_struct.field("uri", &self.uri);
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::DestinationGcsBucket {
155 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
156 let mut debug_struct = f.debug_struct("DestinationGcsBucket");
157 debug_struct.field("uri", &self.uri);
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::SourceParallelstore {
166 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
167 let mut debug_struct = f.debug_struct("SourceParallelstore");
168 debug_struct.field("path", &self.path);
169 if !self._unknown_fields.is_empty() {
170 debug_struct.field("_unknown_fields", &self._unknown_fields);
171 }
172 debug_struct.finish()
173 }
174}
175
176impl std::fmt::Debug for super::DestinationParallelstore {
177 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
178 let mut debug_struct = f.debug_struct("DestinationParallelstore");
179 debug_struct.field("path", &self.path);
180 if !self._unknown_fields.is_empty() {
181 debug_struct.field("_unknown_fields", &self._unknown_fields);
182 }
183 debug_struct.finish()
184 }
185}
186
187impl std::fmt::Debug for super::ImportDataRequest {
188 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
189 let mut debug_struct = f.debug_struct("ImportDataRequest");
190 debug_struct.field("name", &self.name);
191 debug_struct.field("request_id", &self.request_id);
192 debug_struct.field("service_account", &self.service_account);
193 debug_struct.field("source", &self.source);
194 debug_struct.field("destination", &self.destination);
195 if !self._unknown_fields.is_empty() {
196 debug_struct.field("_unknown_fields", &self._unknown_fields);
197 }
198 debug_struct.finish()
199 }
200}
201
202impl std::fmt::Debug for super::ExportDataRequest {
203 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
204 let mut debug_struct = f.debug_struct("ExportDataRequest");
205 debug_struct.field("name", &self.name);
206 debug_struct.field("request_id", &self.request_id);
207 debug_struct.field("service_account", &self.service_account);
208 debug_struct.field("source", &self.source);
209 debug_struct.field("destination", &self.destination);
210 if !self._unknown_fields.is_empty() {
211 debug_struct.field("_unknown_fields", &self._unknown_fields);
212 }
213 debug_struct.finish()
214 }
215}
216
217impl std::fmt::Debug for super::ImportDataResponse {
218 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
219 let mut debug_struct = f.debug_struct("ImportDataResponse");
220 if !self._unknown_fields.is_empty() {
221 debug_struct.field("_unknown_fields", &self._unknown_fields);
222 }
223 debug_struct.finish()
224 }
225}
226
227impl std::fmt::Debug for super::TransferErrorLogEntry {
228 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
229 let mut debug_struct = f.debug_struct("TransferErrorLogEntry");
230 debug_struct.field("uri", &self.uri);
231 debug_struct.field("error_details", &self.error_details);
232 if !self._unknown_fields.is_empty() {
233 debug_struct.field("_unknown_fields", &self._unknown_fields);
234 }
235 debug_struct.finish()
236 }
237}
238
239impl std::fmt::Debug for super::TransferErrorSummary {
240 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
241 let mut debug_struct = f.debug_struct("TransferErrorSummary");
242 debug_struct.field("error_code", &self.error_code);
243 debug_struct.field("error_count", &self.error_count);
244 debug_struct.field("error_log_entries", &self.error_log_entries);
245 if !self._unknown_fields.is_empty() {
246 debug_struct.field("_unknown_fields", &self._unknown_fields);
247 }
248 debug_struct.finish()
249 }
250}
251
252impl std::fmt::Debug for super::ImportDataMetadata {
253 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
254 let mut debug_struct = f.debug_struct("ImportDataMetadata");
255 debug_struct.field("operation_metadata", &self.operation_metadata);
256 debug_struct.field("create_time", &self.create_time);
257 debug_struct.field("end_time", &self.end_time);
258 debug_struct.field("target", &self.target);
259 debug_struct.field("verb", &self.verb);
260 debug_struct.field("status_message", &self.status_message);
261 debug_struct.field("requested_cancellation", &self.requested_cancellation);
262 debug_struct.field("api_version", &self.api_version);
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::ExportDataResponse {
271 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
272 let mut debug_struct = f.debug_struct("ExportDataResponse");
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::ExportDataMetadata {
281 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
282 let mut debug_struct = f.debug_struct("ExportDataMetadata");
283 debug_struct.field("operation_metadata", &self.operation_metadata);
284 debug_struct.field("create_time", &self.create_time);
285 debug_struct.field("end_time", &self.end_time);
286 debug_struct.field("target", &self.target);
287 debug_struct.field("verb", &self.verb);
288 debug_struct.field("status_message", &self.status_message);
289 debug_struct.field("requested_cancellation", &self.requested_cancellation);
290 debug_struct.field("api_version", &self.api_version);
291 if !self._unknown_fields.is_empty() {
292 debug_struct.field("_unknown_fields", &self._unknown_fields);
293 }
294 debug_struct.finish()
295 }
296}
297
298impl std::fmt::Debug for super::TransferOperationMetadata {
299 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
300 let mut debug_struct = f.debug_struct("TransferOperationMetadata");
301 debug_struct.field("counters", &self.counters);
302 debug_struct.field("transfer_type", &self.transfer_type);
303 debug_struct.field("error_summary", &self.error_summary);
304 debug_struct.field("source", &self.source);
305 debug_struct.field("destination", &self.destination);
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::TransferCounters {
314 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
315 let mut debug_struct = f.debug_struct("TransferCounters");
316 debug_struct.field("objects_found", &self.objects_found);
317 debug_struct.field("bytes_found", &self.bytes_found);
318 debug_struct.field("objects_skipped", &self.objects_skipped);
319 debug_struct.field("bytes_skipped", &self.bytes_skipped);
320 debug_struct.field("objects_copied", &self.objects_copied);
321 debug_struct.field("bytes_copied", &self.bytes_copied);
322 debug_struct.field("objects_failed", &self.objects_failed);
323 debug_struct.field("bytes_failed", &self.bytes_failed);
324 if !self._unknown_fields.is_empty() {
325 debug_struct.field("_unknown_fields", &self._unknown_fields);
326 }
327 debug_struct.finish()
328 }
329}