google_cloud_storagebatchoperations_v1/model/
debug.rs1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::ListJobsRequest {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("ListJobsRequest");
23 debug_struct.field("parent", &self.parent);
24 debug_struct.field("filter", &self.filter);
25 debug_struct.field("page_size", &self.page_size);
26 debug_struct.field("page_token", &self.page_token);
27 debug_struct.field("order_by", &self.order_by);
28 if !self._unknown_fields.is_empty() {
29 debug_struct.field("_unknown_fields", &self._unknown_fields);
30 }
31 debug_struct.finish()
32 }
33}
34
35impl std::fmt::Debug for super::ListJobsResponse {
36 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
37 let mut debug_struct = f.debug_struct("ListJobsResponse");
38 debug_struct.field("jobs", &self.jobs);
39 debug_struct.field("next_page_token", &self.next_page_token);
40 debug_struct.field("unreachable", &self.unreachable);
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::GetJobRequest {
49 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
50 let mut debug_struct = f.debug_struct("GetJobRequest");
51 debug_struct.field("name", &self.name);
52 if !self._unknown_fields.is_empty() {
53 debug_struct.field("_unknown_fields", &self._unknown_fields);
54 }
55 debug_struct.finish()
56 }
57}
58
59impl std::fmt::Debug for super::CreateJobRequest {
60 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
61 let mut debug_struct = f.debug_struct("CreateJobRequest");
62 debug_struct.field("parent", &self.parent);
63 debug_struct.field("job_id", &self.job_id);
64 debug_struct.field("job", &self.job);
65 debug_struct.field("request_id", &self.request_id);
66 if !self._unknown_fields.is_empty() {
67 debug_struct.field("_unknown_fields", &self._unknown_fields);
68 }
69 debug_struct.finish()
70 }
71}
72
73impl std::fmt::Debug for super::CancelJobRequest {
74 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
75 let mut debug_struct = f.debug_struct("CancelJobRequest");
76 debug_struct.field("name", &self.name);
77 debug_struct.field("request_id", &self.request_id);
78 if !self._unknown_fields.is_empty() {
79 debug_struct.field("_unknown_fields", &self._unknown_fields);
80 }
81 debug_struct.finish()
82 }
83}
84
85impl std::fmt::Debug for super::DeleteJobRequest {
86 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
87 let mut debug_struct = f.debug_struct("DeleteJobRequest");
88 debug_struct.field("name", &self.name);
89 debug_struct.field("request_id", &self.request_id);
90 debug_struct.field("force", &self.force);
91 if !self._unknown_fields.is_empty() {
92 debug_struct.field("_unknown_fields", &self._unknown_fields);
93 }
94 debug_struct.finish()
95 }
96}
97
98impl std::fmt::Debug for super::CancelJobResponse {
99 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
100 let mut debug_struct = f.debug_struct("CancelJobResponse");
101 if !self._unknown_fields.is_empty() {
102 debug_struct.field("_unknown_fields", &self._unknown_fields);
103 }
104 debug_struct.finish()
105 }
106}
107
108impl std::fmt::Debug for super::ListBucketOperationsRequest {
109 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
110 let mut debug_struct = f.debug_struct("ListBucketOperationsRequest");
111 debug_struct.field("parent", &self.parent);
112 debug_struct.field("filter", &self.filter);
113 debug_struct.field("page_size", &self.page_size);
114 debug_struct.field("page_token", &self.page_token);
115 debug_struct.field("order_by", &self.order_by);
116 if !self._unknown_fields.is_empty() {
117 debug_struct.field("_unknown_fields", &self._unknown_fields);
118 }
119 debug_struct.finish()
120 }
121}
122
123impl std::fmt::Debug for super::ListBucketOperationsResponse {
124 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
125 let mut debug_struct = f.debug_struct("ListBucketOperationsResponse");
126 debug_struct.field("bucket_operations", &self.bucket_operations);
127 debug_struct.field("next_page_token", &self.next_page_token);
128 debug_struct.field("unreachable", &self.unreachable);
129 if !self._unknown_fields.is_empty() {
130 debug_struct.field("_unknown_fields", &self._unknown_fields);
131 }
132 debug_struct.finish()
133 }
134}
135
136impl std::fmt::Debug for super::GetBucketOperationRequest {
137 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
138 let mut debug_struct = f.debug_struct("GetBucketOperationRequest");
139 debug_struct.field("name", &self.name);
140 if !self._unknown_fields.is_empty() {
141 debug_struct.field("_unknown_fields", &self._unknown_fields);
142 }
143 debug_struct.finish()
144 }
145}
146
147impl std::fmt::Debug for super::OperationMetadata {
148 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
149 let mut debug_struct = f.debug_struct("OperationMetadata");
150 debug_struct.field("operation", &self.operation);
151 debug_struct.field("create_time", &self.create_time);
152 debug_struct.field("end_time", &self.end_time);
153 debug_struct.field("requested_cancellation", &self.requested_cancellation);
154 debug_struct.field("api_version", &self.api_version);
155 debug_struct.field("job", &self.job);
156 if !self._unknown_fields.is_empty() {
157 debug_struct.field("_unknown_fields", &self._unknown_fields);
158 }
159 debug_struct.finish()
160 }
161}
162
163impl std::fmt::Debug for super::Job {
164 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
165 let mut debug_struct = f.debug_struct("Job");
166 debug_struct.field("name", &self.name);
167 debug_struct.field("description", &self.description);
168 debug_struct.field("logging_config", &self.logging_config);
169 debug_struct.field("create_time", &self.create_time);
170 debug_struct.field("schedule_time", &self.schedule_time);
171 debug_struct.field("complete_time", &self.complete_time);
172 debug_struct.field("counters", &self.counters);
173 debug_struct.field("error_summaries", &self.error_summaries);
174 debug_struct.field("state", &self.state);
175 debug_struct.field("dry_run", &self.dry_run);
176 debug_struct.field("is_multi_bucket_job", &self.is_multi_bucket_job);
177 debug_struct.field("source", &self.source);
178 debug_struct.field("transformation", &self.transformation);
179 if !self._unknown_fields.is_empty() {
180 debug_struct.field("_unknown_fields", &self._unknown_fields);
181 }
182 debug_struct.finish()
183 }
184}
185
186impl std::fmt::Debug for super::BucketOperation {
187 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
188 let mut debug_struct = f.debug_struct("BucketOperation");
189 debug_struct.field("name", &self.name);
190 debug_struct.field("bucket_name", &self.bucket_name);
191 debug_struct.field("create_time", &self.create_time);
192 debug_struct.field("start_time", &self.start_time);
193 debug_struct.field("complete_time", &self.complete_time);
194 debug_struct.field("counters", &self.counters);
195 debug_struct.field("error_summaries", &self.error_summaries);
196 debug_struct.field("state", &self.state);
197 debug_struct.field("object_configuration", &self.object_configuration);
198 debug_struct.field("transformation", &self.transformation);
199 if !self._unknown_fields.is_empty() {
200 debug_struct.field("_unknown_fields", &self._unknown_fields);
201 }
202 debug_struct.finish()
203 }
204}
205
206impl std::fmt::Debug for super::BucketList {
207 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
208 let mut debug_struct = f.debug_struct("BucketList");
209 debug_struct.field("buckets", &self.buckets);
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::bucket_list::Bucket {
218 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
219 let mut debug_struct = f.debug_struct("Bucket");
220 debug_struct.field("bucket", &self.bucket);
221 debug_struct.field("object_configuration", &self.object_configuration);
222 if !self._unknown_fields.is_empty() {
223 debug_struct.field("_unknown_fields", &self._unknown_fields);
224 }
225 debug_struct.finish()
226 }
227}
228
229impl std::fmt::Debug for super::Manifest {
230 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
231 let mut debug_struct = f.debug_struct("Manifest");
232 debug_struct.field("manifest_location", &self.manifest_location);
233 if !self._unknown_fields.is_empty() {
234 debug_struct.field("_unknown_fields", &self._unknown_fields);
235 }
236 debug_struct.finish()
237 }
238}
239
240impl std::fmt::Debug for super::PrefixList {
241 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
242 let mut debug_struct = f.debug_struct("PrefixList");
243 debug_struct.field("included_object_prefixes", &self.included_object_prefixes);
244 if !self._unknown_fields.is_empty() {
245 debug_struct.field("_unknown_fields", &self._unknown_fields);
246 }
247 debug_struct.finish()
248 }
249}
250
251impl std::fmt::Debug for super::PutObjectHold {
252 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
253 let mut debug_struct = f.debug_struct("PutObjectHold");
254 debug_struct.field("temporary_hold", &self.temporary_hold);
255 debug_struct.field("event_based_hold", &self.event_based_hold);
256 if !self._unknown_fields.is_empty() {
257 debug_struct.field("_unknown_fields", &self._unknown_fields);
258 }
259 debug_struct.finish()
260 }
261}
262
263impl std::fmt::Debug for super::DeleteObject {
264 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
265 let mut debug_struct = f.debug_struct("DeleteObject");
266 debug_struct.field(
267 "permanent_object_deletion_enabled",
268 &self.permanent_object_deletion_enabled,
269 );
270 if !self._unknown_fields.is_empty() {
271 debug_struct.field("_unknown_fields", &self._unknown_fields);
272 }
273 debug_struct.finish()
274 }
275}
276
277impl std::fmt::Debug for super::RewriteObject {
278 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
279 let mut debug_struct = f.debug_struct("RewriteObject");
280 debug_struct.field("kms_key", &self.kms_key);
281 if !self._unknown_fields.is_empty() {
282 debug_struct.field("_unknown_fields", &self._unknown_fields);
283 }
284 debug_struct.finish()
285 }
286}
287
288impl std::fmt::Debug for super::ObjectRetention {
289 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
290 let mut debug_struct = f.debug_struct("ObjectRetention");
291 debug_struct.field("retain_until_time", &self.retain_until_time);
292 debug_struct.field("retention_mode", &self.retention_mode);
293 if !self._unknown_fields.is_empty() {
294 debug_struct.field("_unknown_fields", &self._unknown_fields);
295 }
296 debug_struct.finish()
297 }
298}
299
300impl std::fmt::Debug for super::PutMetadata {
301 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
302 let mut debug_struct = f.debug_struct("PutMetadata");
303 debug_struct.field("content_disposition", &self.content_disposition);
304 debug_struct.field("content_encoding", &self.content_encoding);
305 debug_struct.field("content_language", &self.content_language);
306 debug_struct.field("content_type", &self.content_type);
307 debug_struct.field("cache_control", &self.cache_control);
308 debug_struct.field("custom_time", &self.custom_time);
309 debug_struct.field("custom_metadata", &self.custom_metadata);
310 debug_struct.field("object_retention", &self.object_retention);
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::ObjectCustomContextPayload {
319 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
320 let mut debug_struct = f.debug_struct("ObjectCustomContextPayload");
321 debug_struct.field("value", &self.value);
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::CustomContextUpdates {
330 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
331 let mut debug_struct = f.debug_struct("CustomContextUpdates");
332 debug_struct.field("updates", &self.updates);
333 debug_struct.field("keys_to_clear", &self.keys_to_clear);
334 if !self._unknown_fields.is_empty() {
335 debug_struct.field("_unknown_fields", &self._unknown_fields);
336 }
337 debug_struct.finish()
338 }
339}
340
341impl std::fmt::Debug for super::UpdateObjectCustomContext {
342 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
343 let mut debug_struct = f.debug_struct("UpdateObjectCustomContext");
344 debug_struct.field("action", &self.action);
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::ErrorSummary {
353 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
354 let mut debug_struct = f.debug_struct("ErrorSummary");
355 debug_struct.field("error_code", &self.error_code);
356 debug_struct.field("error_count", &self.error_count);
357 debug_struct.field("error_log_entries", &self.error_log_entries);
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::ErrorLogEntry {
366 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
367 let mut debug_struct = f.debug_struct("ErrorLogEntry");
368 debug_struct.field("object_uri", &self.object_uri);
369 debug_struct.field("error_details", &self.error_details);
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::Counters {
378 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
379 let mut debug_struct = f.debug_struct("Counters");
380 debug_struct.field("total_object_count", &self.total_object_count);
381 debug_struct.field("succeeded_object_count", &self.succeeded_object_count);
382 debug_struct.field("failed_object_count", &self.failed_object_count);
383 debug_struct.field("total_bytes_found", &self.total_bytes_found);
384 if !self._unknown_fields.is_empty() {
385 debug_struct.field("_unknown_fields", &self._unknown_fields);
386 }
387 debug_struct.finish()
388 }
389}
390
391impl std::fmt::Debug for super::LoggingConfig {
392 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
393 let mut debug_struct = f.debug_struct("LoggingConfig");
394 debug_struct.field("log_actions", &self.log_actions);
395 debug_struct.field("log_action_states", &self.log_action_states);
396 if !self._unknown_fields.is_empty() {
397 debug_struct.field("_unknown_fields", &self._unknown_fields);
398 }
399 debug_struct.finish()
400 }
401}