1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::Actor {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("Actor");
23 debug_struct.field("display_name", &self.display_name);
24 debug_struct.field("email", &self.email);
25 debug_struct.field("google_support", &self.google_support);
26 debug_struct.field("username", &self.username);
27 if !self._unknown_fields.is_empty() {
28 debug_struct.field("_unknown_fields", &self._unknown_fields);
29 }
30 debug_struct.finish()
31 }
32}
33
34impl std::fmt::Debug for super::Attachment {
35 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
36 let mut debug_struct = f.debug_struct("Attachment");
37 debug_struct.field("name", &self.name);
38 debug_struct.field("create_time", &self.create_time);
39 debug_struct.field("creator", &self.creator);
40 debug_struct.field("filename", &self.filename);
41 debug_struct.field("mime_type", &self.mime_type);
42 debug_struct.field("size_bytes", &self.size_bytes);
43 if !self._unknown_fields.is_empty() {
44 debug_struct.field("_unknown_fields", &self._unknown_fields);
45 }
46 debug_struct.finish()
47 }
48}
49
50impl std::fmt::Debug for super::ListAttachmentsRequest {
51 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
52 let mut debug_struct = f.debug_struct("ListAttachmentsRequest");
53 debug_struct.field("parent", &self.parent);
54 debug_struct.field("page_size", &self.page_size);
55 debug_struct.field("page_token", &self.page_token);
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::GetAttachmentRequest {
64 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
65 let mut debug_struct = f.debug_struct("GetAttachmentRequest");
66 debug_struct.field("name", &self.name);
67 if !self._unknown_fields.is_empty() {
68 debug_struct.field("_unknown_fields", &self._unknown_fields);
69 }
70 debug_struct.finish()
71 }
72}
73
74impl std::fmt::Debug for super::ListAttachmentsResponse {
75 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
76 let mut debug_struct = f.debug_struct("ListAttachmentsResponse");
77 debug_struct.field("attachments", &self.attachments);
78 debug_struct.field("next_page_token", &self.next_page_token);
79 if !self._unknown_fields.is_empty() {
80 debug_struct.field("_unknown_fields", &self._unknown_fields);
81 }
82 debug_struct.finish()
83 }
84}
85
86impl std::fmt::Debug for super::Case {
87 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
88 let mut debug_struct = f.debug_struct("Case");
89 debug_struct.field("name", &self.name);
90 debug_struct.field("display_name", &self.display_name);
91 debug_struct.field("description", &self.description);
92 debug_struct.field("classification", &self.classification);
93 debug_struct.field("time_zone", &self.time_zone);
94 debug_struct.field(
95 "subscriber_email_addresses",
96 &self.subscriber_email_addresses,
97 );
98 debug_struct.field("state", &self.state);
99 debug_struct.field("create_time", &self.create_time);
100 debug_struct.field("update_time", &self.update_time);
101 debug_struct.field("creator", &self.creator);
102 debug_struct.field("contact_email", &self.contact_email);
103 debug_struct.field("escalated", &self.escalated);
104 debug_struct.field("test_case", &self.test_case);
105 debug_struct.field("language_code", &self.language_code);
106 debug_struct.field("priority", &self.priority);
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::CaseClassification {
115 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
116 let mut debug_struct = f.debug_struct("CaseClassification");
117 debug_struct.field("id", &self.id);
118 debug_struct.field("display_name", &self.display_name);
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::GetCaseRequest {
127 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
128 let mut debug_struct = f.debug_struct("GetCaseRequest");
129 debug_struct.field("name", &self.name);
130 if !self._unknown_fields.is_empty() {
131 debug_struct.field("_unknown_fields", &self._unknown_fields);
132 }
133 debug_struct.finish()
134 }
135}
136
137impl std::fmt::Debug for super::CreateCaseRequest {
138 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
139 let mut debug_struct = f.debug_struct("CreateCaseRequest");
140 debug_struct.field("parent", &self.parent);
141 debug_struct.field("case", &self.case);
142 if !self._unknown_fields.is_empty() {
143 debug_struct.field("_unknown_fields", &self._unknown_fields);
144 }
145 debug_struct.finish()
146 }
147}
148
149impl std::fmt::Debug for super::ListCasesRequest {
150 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
151 let mut debug_struct = f.debug_struct("ListCasesRequest");
152 debug_struct.field("parent", &self.parent);
153 debug_struct.field("filter", &self.filter);
154 debug_struct.field("page_size", &self.page_size);
155 debug_struct.field("page_token", &self.page_token);
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::ListCasesResponse {
164 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
165 let mut debug_struct = f.debug_struct("ListCasesResponse");
166 debug_struct.field("cases", &self.cases);
167 debug_struct.field("next_page_token", &self.next_page_token);
168 if !self._unknown_fields.is_empty() {
169 debug_struct.field("_unknown_fields", &self._unknown_fields);
170 }
171 debug_struct.finish()
172 }
173}
174
175impl std::fmt::Debug for super::SearchCasesRequest {
176 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
177 let mut debug_struct = f.debug_struct("SearchCasesRequest");
178 debug_struct.field("parent", &self.parent);
179 debug_struct.field("query", &self.query);
180 debug_struct.field("page_size", &self.page_size);
181 debug_struct.field("page_token", &self.page_token);
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::SearchCasesResponse {
190 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
191 let mut debug_struct = f.debug_struct("SearchCasesResponse");
192 debug_struct.field("cases", &self.cases);
193 debug_struct.field("next_page_token", &self.next_page_token);
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::EscalateCaseRequest {
202 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
203 let mut debug_struct = f.debug_struct("EscalateCaseRequest");
204 debug_struct.field("name", &self.name);
205 debug_struct.field("escalation", &self.escalation);
206 if !self._unknown_fields.is_empty() {
207 debug_struct.field("_unknown_fields", &self._unknown_fields);
208 }
209 debug_struct.finish()
210 }
211}
212
213impl std::fmt::Debug for super::UpdateCaseRequest {
214 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
215 let mut debug_struct = f.debug_struct("UpdateCaseRequest");
216 debug_struct.field("case", &self.case);
217 debug_struct.field("update_mask", &self.update_mask);
218 if !self._unknown_fields.is_empty() {
219 debug_struct.field("_unknown_fields", &self._unknown_fields);
220 }
221 debug_struct.finish()
222 }
223}
224
225impl std::fmt::Debug for super::CloseCaseRequest {
226 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
227 let mut debug_struct = f.debug_struct("CloseCaseRequest");
228 debug_struct.field("name", &self.name);
229 if !self._unknown_fields.is_empty() {
230 debug_struct.field("_unknown_fields", &self._unknown_fields);
231 }
232 debug_struct.finish()
233 }
234}
235
236impl std::fmt::Debug for super::SearchCaseClassificationsRequest {
237 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
238 let mut debug_struct = f.debug_struct("SearchCaseClassificationsRequest");
239 debug_struct.field("query", &self.query);
240 debug_struct.field("page_size", &self.page_size);
241 debug_struct.field("page_token", &self.page_token);
242 if !self._unknown_fields.is_empty() {
243 debug_struct.field("_unknown_fields", &self._unknown_fields);
244 }
245 debug_struct.finish()
246 }
247}
248
249impl std::fmt::Debug for super::SearchCaseClassificationsResponse {
250 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
251 let mut debug_struct = f.debug_struct("SearchCaseClassificationsResponse");
252 debug_struct.field("case_classifications", &self.case_classifications);
253 debug_struct.field("next_page_token", &self.next_page_token);
254 if !self._unknown_fields.is_empty() {
255 debug_struct.field("_unknown_fields", &self._unknown_fields);
256 }
257 debug_struct.finish()
258 }
259}
260
261impl std::fmt::Debug for super::Comment {
262 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
263 let mut debug_struct = f.debug_struct("Comment");
264 debug_struct.field("name", &self.name);
265 debug_struct.field("create_time", &self.create_time);
266 debug_struct.field("creator", &self.creator);
267 debug_struct.field("body", &self.body);
268 debug_struct.field("plain_text_body", &self.plain_text_body);
269 if !self._unknown_fields.is_empty() {
270 debug_struct.field("_unknown_fields", &self._unknown_fields);
271 }
272 debug_struct.finish()
273 }
274}
275
276impl std::fmt::Debug for super::ListCommentsRequest {
277 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
278 let mut debug_struct = f.debug_struct("ListCommentsRequest");
279 debug_struct.field("parent", &self.parent);
280 debug_struct.field("page_size", &self.page_size);
281 debug_struct.field("page_token", &self.page_token);
282 if !self._unknown_fields.is_empty() {
283 debug_struct.field("_unknown_fields", &self._unknown_fields);
284 }
285 debug_struct.finish()
286 }
287}
288
289impl std::fmt::Debug for super::ListCommentsResponse {
290 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
291 let mut debug_struct = f.debug_struct("ListCommentsResponse");
292 debug_struct.field("comments", &self.comments);
293 debug_struct.field("next_page_token", &self.next_page_token);
294 if !self._unknown_fields.is_empty() {
295 debug_struct.field("_unknown_fields", &self._unknown_fields);
296 }
297 debug_struct.finish()
298 }
299}
300
301impl std::fmt::Debug for super::CreateCommentRequest {
302 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
303 let mut debug_struct = f.debug_struct("CreateCommentRequest");
304 debug_struct.field("parent", &self.parent);
305 debug_struct.field("comment", &self.comment);
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::GetCommentRequest {
314 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
315 let mut debug_struct = f.debug_struct("GetCommentRequest");
316 debug_struct.field("name", &self.name);
317 if !self._unknown_fields.is_empty() {
318 debug_struct.field("_unknown_fields", &self._unknown_fields);
319 }
320 debug_struct.finish()
321 }
322}
323
324impl std::fmt::Debug for super::Escalation {
325 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
326 let mut debug_struct = f.debug_struct("Escalation");
327 debug_struct.field("reason", &self.reason);
328 debug_struct.field("justification", &self.justification);
329 if !self._unknown_fields.is_empty() {
330 debug_struct.field("_unknown_fields", &self._unknown_fields);
331 }
332 debug_struct.finish()
333 }
334}
335
336impl std::fmt::Debug for super::SupportEventSubscription {
337 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
338 let mut debug_struct = f.debug_struct("SupportEventSubscription");
339 debug_struct.field("name", &self.name);
340 debug_struct.field("pub_sub_topic", &self.pub_sub_topic);
341 debug_struct.field("state", &self.state);
342 debug_struct.field("failure_reason", &self.failure_reason);
343 debug_struct.field("create_time", &self.create_time);
344 debug_struct.field("update_time", &self.update_time);
345 debug_struct.field("delete_time", &self.delete_time);
346 debug_struct.field("purge_time", &self.purge_time);
347 if !self._unknown_fields.is_empty() {
348 debug_struct.field("_unknown_fields", &self._unknown_fields);
349 }
350 debug_struct.finish()
351 }
352}
353
354impl std::fmt::Debug for super::CreateSupportEventSubscriptionRequest {
355 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
356 let mut debug_struct = f.debug_struct("CreateSupportEventSubscriptionRequest");
357 debug_struct.field("parent", &self.parent);
358 debug_struct.field(
359 "support_event_subscription",
360 &self.support_event_subscription,
361 );
362 if !self._unknown_fields.is_empty() {
363 debug_struct.field("_unknown_fields", &self._unknown_fields);
364 }
365 debug_struct.finish()
366 }
367}
368
369impl std::fmt::Debug for super::GetSupportEventSubscriptionRequest {
370 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
371 let mut debug_struct = f.debug_struct("GetSupportEventSubscriptionRequest");
372 debug_struct.field("name", &self.name);
373 if !self._unknown_fields.is_empty() {
374 debug_struct.field("_unknown_fields", &self._unknown_fields);
375 }
376 debug_struct.finish()
377 }
378}
379
380impl std::fmt::Debug for super::ListSupportEventSubscriptionsRequest {
381 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
382 let mut debug_struct = f.debug_struct("ListSupportEventSubscriptionsRequest");
383 debug_struct.field("parent", &self.parent);
384 debug_struct.field("filter", &self.filter);
385 debug_struct.field("show_deleted", &self.show_deleted);
386 debug_struct.field("page_size", &self.page_size);
387 debug_struct.field("page_token", &self.page_token);
388 if !self._unknown_fields.is_empty() {
389 debug_struct.field("_unknown_fields", &self._unknown_fields);
390 }
391 debug_struct.finish()
392 }
393}
394
395impl std::fmt::Debug for super::ListSupportEventSubscriptionsResponse {
396 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
397 let mut debug_struct = f.debug_struct("ListSupportEventSubscriptionsResponse");
398 debug_struct.field(
399 "support_event_subscriptions",
400 &self.support_event_subscriptions,
401 );
402 debug_struct.field("next_page_token", &self.next_page_token);
403 if !self._unknown_fields.is_empty() {
404 debug_struct.field("_unknown_fields", &self._unknown_fields);
405 }
406 debug_struct.finish()
407 }
408}
409
410impl std::fmt::Debug for super::UpdateSupportEventSubscriptionRequest {
411 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
412 let mut debug_struct = f.debug_struct("UpdateSupportEventSubscriptionRequest");
413 debug_struct.field(
414 "support_event_subscription",
415 &self.support_event_subscription,
416 );
417 debug_struct.field("update_mask", &self.update_mask);
418 if !self._unknown_fields.is_empty() {
419 debug_struct.field("_unknown_fields", &self._unknown_fields);
420 }
421 debug_struct.finish()
422 }
423}
424
425impl std::fmt::Debug for super::DeleteSupportEventSubscriptionRequest {
426 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
427 let mut debug_struct = f.debug_struct("DeleteSupportEventSubscriptionRequest");
428 debug_struct.field("name", &self.name);
429 if !self._unknown_fields.is_empty() {
430 debug_struct.field("_unknown_fields", &self._unknown_fields);
431 }
432 debug_struct.finish()
433 }
434}
435
436impl std::fmt::Debug for super::UndeleteSupportEventSubscriptionRequest {
437 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
438 let mut debug_struct = f.debug_struct("UndeleteSupportEventSubscriptionRequest");
439 debug_struct.field("name", &self.name);
440 if !self._unknown_fields.is_empty() {
441 debug_struct.field("_unknown_fields", &self._unknown_fields);
442 }
443 debug_struct.finish()
444 }
445}