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 if !self._unknown_fields.is_empty() {
91 debug_struct.field("_unknown_fields", &self._unknown_fields);
92 }
93 debug_struct.finish()
94 }
95}
96
97impl std::fmt::Debug for super::CancelJobResponse {
98 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
99 let mut debug_struct = f.debug_struct("CancelJobResponse");
100 if !self._unknown_fields.is_empty() {
101 debug_struct.field("_unknown_fields", &self._unknown_fields);
102 }
103 debug_struct.finish()
104 }
105}
106
107impl std::fmt::Debug for super::OperationMetadata {
108 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
109 let mut debug_struct = f.debug_struct("OperationMetadata");
110 debug_struct.field("operation", &self.operation);
111 debug_struct.field("create_time", &self.create_time);
112 debug_struct.field("end_time", &self.end_time);
113 debug_struct.field("requested_cancellation", &self.requested_cancellation);
114 debug_struct.field("api_version", &self.api_version);
115 debug_struct.field("job", &self.job);
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::Job {
124 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
125 let mut debug_struct = f.debug_struct("Job");
126 debug_struct.field("name", &self.name);
127 debug_struct.field("description", &self.description);
128 debug_struct.field("logging_config", &self.logging_config);
129 debug_struct.field("create_time", &self.create_time);
130 debug_struct.field("schedule_time", &self.schedule_time);
131 debug_struct.field("complete_time", &self.complete_time);
132 debug_struct.field("counters", &self.counters);
133 debug_struct.field("error_summaries", &self.error_summaries);
134 debug_struct.field("state", &self.state);
135 debug_struct.field("dry_run", &self.dry_run);
136 debug_struct.field("source", &self.source);
137 debug_struct.field("transformation", &self.transformation);
138 if !self._unknown_fields.is_empty() {
139 debug_struct.field("_unknown_fields", &self._unknown_fields);
140 }
141 debug_struct.finish()
142 }
143}
144
145impl std::fmt::Debug for super::BucketList {
146 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
147 let mut debug_struct = f.debug_struct("BucketList");
148 debug_struct.field("buckets", &self.buckets);
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::bucket_list::Bucket {
157 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
158 let mut debug_struct = f.debug_struct("Bucket");
159 debug_struct.field("bucket", &self.bucket);
160 debug_struct.field("object_configuration", &self.object_configuration);
161 if !self._unknown_fields.is_empty() {
162 debug_struct.field("_unknown_fields", &self._unknown_fields);
163 }
164 debug_struct.finish()
165 }
166}
167
168impl std::fmt::Debug for super::Manifest {
169 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
170 let mut debug_struct = f.debug_struct("Manifest");
171 debug_struct.field("manifest_location", &self.manifest_location);
172 if !self._unknown_fields.is_empty() {
173 debug_struct.field("_unknown_fields", &self._unknown_fields);
174 }
175 debug_struct.finish()
176 }
177}
178
179impl std::fmt::Debug for super::PrefixList {
180 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
181 let mut debug_struct = f.debug_struct("PrefixList");
182 debug_struct.field("included_object_prefixes", &self.included_object_prefixes);
183 if !self._unknown_fields.is_empty() {
184 debug_struct.field("_unknown_fields", &self._unknown_fields);
185 }
186 debug_struct.finish()
187 }
188}
189
190impl std::fmt::Debug for super::PutObjectHold {
191 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
192 let mut debug_struct = f.debug_struct("PutObjectHold");
193 debug_struct.field("temporary_hold", &self.temporary_hold);
194 debug_struct.field("event_based_hold", &self.event_based_hold);
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::DeleteObject {
203 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
204 let mut debug_struct = f.debug_struct("DeleteObject");
205 debug_struct.field(
206 "permanent_object_deletion_enabled",
207 &self.permanent_object_deletion_enabled,
208 );
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::RewriteObject {
217 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
218 let mut debug_struct = f.debug_struct("RewriteObject");
219 debug_struct.field("kms_key", &self.kms_key);
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::ObjectRetention {
228 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
229 let mut debug_struct = f.debug_struct("ObjectRetention");
230 debug_struct.field("retain_until_time", &self.retain_until_time);
231 debug_struct.field("retention_mode", &self.retention_mode);
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::PutMetadata {
240 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
241 let mut debug_struct = f.debug_struct("PutMetadata");
242 debug_struct.field("content_disposition", &self.content_disposition);
243 debug_struct.field("content_encoding", &self.content_encoding);
244 debug_struct.field("content_language", &self.content_language);
245 debug_struct.field("content_type", &self.content_type);
246 debug_struct.field("cache_control", &self.cache_control);
247 debug_struct.field("custom_time", &self.custom_time);
248 debug_struct.field("custom_metadata", &self.custom_metadata);
249 debug_struct.field("object_retention", &self.object_retention);
250 if !self._unknown_fields.is_empty() {
251 debug_struct.field("_unknown_fields", &self._unknown_fields);
252 }
253 debug_struct.finish()
254 }
255}
256
257impl std::fmt::Debug for super::ErrorSummary {
258 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
259 let mut debug_struct = f.debug_struct("ErrorSummary");
260 debug_struct.field("error_code", &self.error_code);
261 debug_struct.field("error_count", &self.error_count);
262 debug_struct.field("error_log_entries", &self.error_log_entries);
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::ErrorLogEntry {
271 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
272 let mut debug_struct = f.debug_struct("ErrorLogEntry");
273 debug_struct.field("object_uri", &self.object_uri);
274 debug_struct.field("error_details", &self.error_details);
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::Counters {
283 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
284 let mut debug_struct = f.debug_struct("Counters");
285 debug_struct.field("total_object_count", &self.total_object_count);
286 debug_struct.field("succeeded_object_count", &self.succeeded_object_count);
287 debug_struct.field("failed_object_count", &self.failed_object_count);
288 debug_struct.field("total_bytes_found", &self.total_bytes_found);
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::LoggingConfig {
297 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
298 let mut debug_struct = f.debug_struct("LoggingConfig");
299 debug_struct.field("log_actions", &self.log_actions);
300 debug_struct.field("log_action_states", &self.log_action_states);
301 if !self._unknown_fields.is_empty() {
302 debug_struct.field("_unknown_fields", &self._unknown_fields);
303 }
304 debug_struct.finish()
305 }
306}