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("source", &self.source);
136 debug_struct.field("transformation", &self.transformation);
137 if !self._unknown_fields.is_empty() {
138 debug_struct.field("_unknown_fields", &self._unknown_fields);
139 }
140 debug_struct.finish()
141 }
142}
143
144impl std::fmt::Debug for super::BucketList {
145 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
146 let mut debug_struct = f.debug_struct("BucketList");
147 debug_struct.field("buckets", &self.buckets);
148 if !self._unknown_fields.is_empty() {
149 debug_struct.field("_unknown_fields", &self._unknown_fields);
150 }
151 debug_struct.finish()
152 }
153}
154
155impl std::fmt::Debug for super::bucket_list::Bucket {
156 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
157 let mut debug_struct = f.debug_struct("Bucket");
158 debug_struct.field("bucket", &self.bucket);
159 debug_struct.field("object_configuration", &self.object_configuration);
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::Manifest {
168 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
169 let mut debug_struct = f.debug_struct("Manifest");
170 debug_struct.field("manifest_location", &self.manifest_location);
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::PrefixList {
179 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
180 let mut debug_struct = f.debug_struct("PrefixList");
181 debug_struct.field("included_object_prefixes", &self.included_object_prefixes);
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::PutObjectHold {
190 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
191 let mut debug_struct = f.debug_struct("PutObjectHold");
192 debug_struct.field("temporary_hold", &self.temporary_hold);
193 debug_struct.field("event_based_hold", &self.event_based_hold);
194 if !self._unknown_fields.is_empty() {
195 debug_struct.field("_unknown_fields", &self._unknown_fields);
196 }
197 debug_struct.finish()
198 }
199}
200
201impl std::fmt::Debug for super::DeleteObject {
202 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
203 let mut debug_struct = f.debug_struct("DeleteObject");
204 debug_struct.field(
205 "permanent_object_deletion_enabled",
206 &self.permanent_object_deletion_enabled,
207 );
208 if !self._unknown_fields.is_empty() {
209 debug_struct.field("_unknown_fields", &self._unknown_fields);
210 }
211 debug_struct.finish()
212 }
213}
214
215impl std::fmt::Debug for super::RewriteObject {
216 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
217 let mut debug_struct = f.debug_struct("RewriteObject");
218 debug_struct.field("kms_key", &self.kms_key);
219 if !self._unknown_fields.is_empty() {
220 debug_struct.field("_unknown_fields", &self._unknown_fields);
221 }
222 debug_struct.finish()
223 }
224}
225
226impl std::fmt::Debug for super::PutMetadata {
227 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
228 let mut debug_struct = f.debug_struct("PutMetadata");
229 debug_struct.field("content_disposition", &self.content_disposition);
230 debug_struct.field("content_encoding", &self.content_encoding);
231 debug_struct.field("content_language", &self.content_language);
232 debug_struct.field("content_type", &self.content_type);
233 debug_struct.field("cache_control", &self.cache_control);
234 debug_struct.field("custom_time", &self.custom_time);
235 debug_struct.field("custom_metadata", &self.custom_metadata);
236 if !self._unknown_fields.is_empty() {
237 debug_struct.field("_unknown_fields", &self._unknown_fields);
238 }
239 debug_struct.finish()
240 }
241}
242
243impl std::fmt::Debug for super::ErrorSummary {
244 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
245 let mut debug_struct = f.debug_struct("ErrorSummary");
246 debug_struct.field("error_code", &self.error_code);
247 debug_struct.field("error_count", &self.error_count);
248 debug_struct.field("error_log_entries", &self.error_log_entries);
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::ErrorLogEntry {
257 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
258 let mut debug_struct = f.debug_struct("ErrorLogEntry");
259 debug_struct.field("object_uri", &self.object_uri);
260 debug_struct.field("error_details", &self.error_details);
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::Counters {
269 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
270 let mut debug_struct = f.debug_struct("Counters");
271 debug_struct.field("total_object_count", &self.total_object_count);
272 debug_struct.field("succeeded_object_count", &self.succeeded_object_count);
273 debug_struct.field("failed_object_count", &self.failed_object_count);
274 if !self._unknown_fields.is_empty() {
275 debug_struct.field("_unknown_fields", &self._unknown_fields);
276 }
277 debug_struct.finish()
278 }
279}
280
281impl std::fmt::Debug for super::LoggingConfig {
282 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
283 let mut debug_struct = f.debug_struct("LoggingConfig");
284 debug_struct.field("log_actions", &self.log_actions);
285 debug_struct.field("log_action_states", &self.log_action_states);
286 if !self._unknown_fields.is_empty() {
287 debug_struct.field("_unknown_fields", &self._unknown_fields);
288 }
289 debug_struct.finish()
290 }
291}