1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::Template {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("Template");
23 debug_struct.field("name", &self.name);
24 debug_struct.field("create_time", &self.create_time);
25 debug_struct.field("update_time", &self.update_time);
26 debug_struct.field("labels", &self.labels);
27 debug_struct.field("filter_config", &self.filter_config);
28 debug_struct.field("template_metadata", &self.template_metadata);
29 if !self._unknown_fields.is_empty() {
30 debug_struct.field("_unknown_fields", &self._unknown_fields);
31 }
32 debug_struct.finish()
33 }
34}
35
36impl std::fmt::Debug for super::template::TemplateMetadata {
37 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
38 let mut debug_struct = f.debug_struct("TemplateMetadata");
39 debug_struct.field(
40 "ignore_partial_invocation_failures",
41 &self.ignore_partial_invocation_failures,
42 );
43 debug_struct.field(
44 "custom_prompt_safety_error_code",
45 &self.custom_prompt_safety_error_code,
46 );
47 debug_struct.field(
48 "custom_prompt_safety_error_message",
49 &self.custom_prompt_safety_error_message,
50 );
51 debug_struct.field(
52 "custom_llm_response_safety_error_code",
53 &self.custom_llm_response_safety_error_code,
54 );
55 debug_struct.field(
56 "custom_llm_response_safety_error_message",
57 &self.custom_llm_response_safety_error_message,
58 );
59 debug_struct.field("log_template_operations", &self.log_template_operations);
60 debug_struct.field("log_sanitize_operations", &self.log_sanitize_operations);
61 debug_struct.field("enforcement_type", &self.enforcement_type);
62 debug_struct.field("multi_language_detection", &self.multi_language_detection);
63 if !self._unknown_fields.is_empty() {
64 debug_struct.field("_unknown_fields", &self._unknown_fields);
65 }
66 debug_struct.finish()
67 }
68}
69
70impl std::fmt::Debug for super::template::template_metadata::MultiLanguageDetection {
71 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
72 let mut debug_struct = f.debug_struct("MultiLanguageDetection");
73 debug_struct.field(
74 "enable_multi_language_detection",
75 &self.enable_multi_language_detection,
76 );
77 if !self._unknown_fields.is_empty() {
78 debug_struct.field("_unknown_fields", &self._unknown_fields);
79 }
80 debug_struct.finish()
81 }
82}
83
84impl std::fmt::Debug for super::FloorSetting {
85 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
86 let mut debug_struct = f.debug_struct("FloorSetting");
87 debug_struct.field("name", &self.name);
88 debug_struct.field("create_time", &self.create_time);
89 debug_struct.field("update_time", &self.update_time);
90 debug_struct.field("filter_config", &self.filter_config);
91 debug_struct.field(
92 "enable_floor_setting_enforcement",
93 &self.enable_floor_setting_enforcement,
94 );
95 debug_struct.field("integrated_services", &self.integrated_services);
96 debug_struct.field("ai_platform_floor_setting", &self.ai_platform_floor_setting);
97 debug_struct.field("floor_setting_metadata", &self.floor_setting_metadata);
98 if !self._unknown_fields.is_empty() {
99 debug_struct.field("_unknown_fields", &self._unknown_fields);
100 }
101 debug_struct.finish()
102 }
103}
104
105impl std::fmt::Debug for super::floor_setting::FloorSettingMetadata {
106 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
107 let mut debug_struct = f.debug_struct("FloorSettingMetadata");
108 debug_struct.field("multi_language_detection", &self.multi_language_detection);
109 if !self._unknown_fields.is_empty() {
110 debug_struct.field("_unknown_fields", &self._unknown_fields);
111 }
112 debug_struct.finish()
113 }
114}
115
116impl std::fmt::Debug for super::floor_setting::floor_setting_metadata::MultiLanguageDetection {
117 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
118 let mut debug_struct = f.debug_struct("MultiLanguageDetection");
119 debug_struct.field(
120 "enable_multi_language_detection",
121 &self.enable_multi_language_detection,
122 );
123 if !self._unknown_fields.is_empty() {
124 debug_struct.field("_unknown_fields", &self._unknown_fields);
125 }
126 debug_struct.finish()
127 }
128}
129
130impl std::fmt::Debug for super::AiPlatformFloorSetting {
131 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
132 let mut debug_struct = f.debug_struct("AiPlatformFloorSetting");
133 debug_struct.field("enable_cloud_logging", &self.enable_cloud_logging);
134 debug_struct.field("enforcement_type", &self.enforcement_type);
135 if !self._unknown_fields.is_empty() {
136 debug_struct.field("_unknown_fields", &self._unknown_fields);
137 }
138 debug_struct.finish()
139 }
140}
141
142impl std::fmt::Debug for super::ListTemplatesRequest {
143 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
144 let mut debug_struct = f.debug_struct("ListTemplatesRequest");
145 debug_struct.field("parent", &self.parent);
146 debug_struct.field("page_size", &self.page_size);
147 debug_struct.field("page_token", &self.page_token);
148 debug_struct.field("filter", &self.filter);
149 debug_struct.field("order_by", &self.order_by);
150 if !self._unknown_fields.is_empty() {
151 debug_struct.field("_unknown_fields", &self._unknown_fields);
152 }
153 debug_struct.finish()
154 }
155}
156
157impl std::fmt::Debug for super::ListTemplatesResponse {
158 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
159 let mut debug_struct = f.debug_struct("ListTemplatesResponse");
160 debug_struct.field("templates", &self.templates);
161 debug_struct.field("next_page_token", &self.next_page_token);
162 debug_struct.field("unreachable", &self.unreachable);
163 if !self._unknown_fields.is_empty() {
164 debug_struct.field("_unknown_fields", &self._unknown_fields);
165 }
166 debug_struct.finish()
167 }
168}
169
170impl std::fmt::Debug for super::GetTemplateRequest {
171 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
172 let mut debug_struct = f.debug_struct("GetTemplateRequest");
173 debug_struct.field("name", &self.name);
174 if !self._unknown_fields.is_empty() {
175 debug_struct.field("_unknown_fields", &self._unknown_fields);
176 }
177 debug_struct.finish()
178 }
179}
180
181impl std::fmt::Debug for super::CreateTemplateRequest {
182 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
183 let mut debug_struct = f.debug_struct("CreateTemplateRequest");
184 debug_struct.field("parent", &self.parent);
185 debug_struct.field("template_id", &self.template_id);
186 debug_struct.field("template", &self.template);
187 debug_struct.field("request_id", &self.request_id);
188 if !self._unknown_fields.is_empty() {
189 debug_struct.field("_unknown_fields", &self._unknown_fields);
190 }
191 debug_struct.finish()
192 }
193}
194
195impl std::fmt::Debug for super::UpdateTemplateRequest {
196 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
197 let mut debug_struct = f.debug_struct("UpdateTemplateRequest");
198 debug_struct.field("update_mask", &self.update_mask);
199 debug_struct.field("template", &self.template);
200 debug_struct.field("request_id", &self.request_id);
201 if !self._unknown_fields.is_empty() {
202 debug_struct.field("_unknown_fields", &self._unknown_fields);
203 }
204 debug_struct.finish()
205 }
206}
207
208impl std::fmt::Debug for super::DeleteTemplateRequest {
209 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
210 let mut debug_struct = f.debug_struct("DeleteTemplateRequest");
211 debug_struct.field("name", &self.name);
212 debug_struct.field("request_id", &self.request_id);
213 if !self._unknown_fields.is_empty() {
214 debug_struct.field("_unknown_fields", &self._unknown_fields);
215 }
216 debug_struct.finish()
217 }
218}
219
220impl std::fmt::Debug for super::GetFloorSettingRequest {
221 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
222 let mut debug_struct = f.debug_struct("GetFloorSettingRequest");
223 debug_struct.field("name", &self.name);
224 if !self._unknown_fields.is_empty() {
225 debug_struct.field("_unknown_fields", &self._unknown_fields);
226 }
227 debug_struct.finish()
228 }
229}
230
231impl std::fmt::Debug for super::UpdateFloorSettingRequest {
232 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
233 let mut debug_struct = f.debug_struct("UpdateFloorSettingRequest");
234 debug_struct.field("floor_setting", &self.floor_setting);
235 debug_struct.field("update_mask", &self.update_mask);
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::FilterConfig {
244 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
245 let mut debug_struct = f.debug_struct("FilterConfig");
246 debug_struct.field("rai_settings", &self.rai_settings);
247 debug_struct.field("sdp_settings", &self.sdp_settings);
248 debug_struct.field(
249 "pi_and_jailbreak_filter_settings",
250 &self.pi_and_jailbreak_filter_settings,
251 );
252 debug_struct.field(
253 "malicious_uri_filter_settings",
254 &self.malicious_uri_filter_settings,
255 );
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::PiAndJailbreakFilterSettings {
264 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
265 let mut debug_struct = f.debug_struct("PiAndJailbreakFilterSettings");
266 debug_struct.field("filter_enforcement", &self.filter_enforcement);
267 debug_struct.field("confidence_level", &self.confidence_level);
268 if !self._unknown_fields.is_empty() {
269 debug_struct.field("_unknown_fields", &self._unknown_fields);
270 }
271 debug_struct.finish()
272 }
273}
274
275impl std::fmt::Debug for super::MaliciousUriFilterSettings {
276 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
277 let mut debug_struct = f.debug_struct("MaliciousUriFilterSettings");
278 debug_struct.field("filter_enforcement", &self.filter_enforcement);
279 if !self._unknown_fields.is_empty() {
280 debug_struct.field("_unknown_fields", &self._unknown_fields);
281 }
282 debug_struct.finish()
283 }
284}
285
286impl std::fmt::Debug for super::RaiFilterSettings {
287 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
288 let mut debug_struct = f.debug_struct("RaiFilterSettings");
289 debug_struct.field("rai_filters", &self.rai_filters);
290 if !self._unknown_fields.is_empty() {
291 debug_struct.field("_unknown_fields", &self._unknown_fields);
292 }
293 debug_struct.finish()
294 }
295}
296
297impl std::fmt::Debug for super::rai_filter_settings::RaiFilter {
298 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
299 let mut debug_struct = f.debug_struct("RaiFilter");
300 debug_struct.field("filter_type", &self.filter_type);
301 debug_struct.field("confidence_level", &self.confidence_level);
302 if !self._unknown_fields.is_empty() {
303 debug_struct.field("_unknown_fields", &self._unknown_fields);
304 }
305 debug_struct.finish()
306 }
307}
308
309impl std::fmt::Debug for super::SdpFilterSettings {
310 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
311 let mut debug_struct = f.debug_struct("SdpFilterSettings");
312 debug_struct.field("sdp_configuration", &self.sdp_configuration);
313 if !self._unknown_fields.is_empty() {
314 debug_struct.field("_unknown_fields", &self._unknown_fields);
315 }
316 debug_struct.finish()
317 }
318}
319
320impl std::fmt::Debug for super::SdpBasicConfig {
321 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
322 let mut debug_struct = f.debug_struct("SdpBasicConfig");
323 debug_struct.field("filter_enforcement", &self.filter_enforcement);
324 if !self._unknown_fields.is_empty() {
325 debug_struct.field("_unknown_fields", &self._unknown_fields);
326 }
327 debug_struct.finish()
328 }
329}
330
331impl std::fmt::Debug for super::SdpAdvancedConfig {
332 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
333 let mut debug_struct = f.debug_struct("SdpAdvancedConfig");
334 debug_struct.field("inspect_template", &self.inspect_template);
335 debug_struct.field("deidentify_template", &self.deidentify_template);
336 if !self._unknown_fields.is_empty() {
337 debug_struct.field("_unknown_fields", &self._unknown_fields);
338 }
339 debug_struct.finish()
340 }
341}
342
343impl std::fmt::Debug for super::SanitizeUserPromptRequest {
344 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
345 let mut debug_struct = f.debug_struct("SanitizeUserPromptRequest");
346 debug_struct.field("name", &self.name);
347 debug_struct.field("user_prompt_data", &self.user_prompt_data);
348 debug_struct.field(
349 "multi_language_detection_metadata",
350 &self.multi_language_detection_metadata,
351 );
352 if !self._unknown_fields.is_empty() {
353 debug_struct.field("_unknown_fields", &self._unknown_fields);
354 }
355 debug_struct.finish()
356 }
357}
358
359impl std::fmt::Debug for super::SanitizeModelResponseRequest {
360 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
361 let mut debug_struct = f.debug_struct("SanitizeModelResponseRequest");
362 debug_struct.field("name", &self.name);
363 debug_struct.field("model_response_data", &self.model_response_data);
364 debug_struct.field("user_prompt", &self.user_prompt);
365 debug_struct.field(
366 "multi_language_detection_metadata",
367 &self.multi_language_detection_metadata,
368 );
369 if !self._unknown_fields.is_empty() {
370 debug_struct.field("_unknown_fields", &self._unknown_fields);
371 }
372 debug_struct.finish()
373 }
374}
375
376impl std::fmt::Debug for super::SanitizeUserPromptResponse {
377 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
378 let mut debug_struct = f.debug_struct("SanitizeUserPromptResponse");
379 debug_struct.field("sanitization_result", &self.sanitization_result);
380 if !self._unknown_fields.is_empty() {
381 debug_struct.field("_unknown_fields", &self._unknown_fields);
382 }
383 debug_struct.finish()
384 }
385}
386
387impl std::fmt::Debug for super::SanitizeModelResponseResponse {
388 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
389 let mut debug_struct = f.debug_struct("SanitizeModelResponseResponse");
390 debug_struct.field("sanitization_result", &self.sanitization_result);
391 if !self._unknown_fields.is_empty() {
392 debug_struct.field("_unknown_fields", &self._unknown_fields);
393 }
394 debug_struct.finish()
395 }
396}
397
398impl std::fmt::Debug for super::SanitizationResult {
399 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
400 let mut debug_struct = f.debug_struct("SanitizationResult");
401 debug_struct.field("filter_match_state", &self.filter_match_state);
402 debug_struct.field("filter_results", &self.filter_results);
403 debug_struct.field("invocation_result", &self.invocation_result);
404 debug_struct.field("sanitization_metadata", &self.sanitization_metadata);
405 if !self._unknown_fields.is_empty() {
406 debug_struct.field("_unknown_fields", &self._unknown_fields);
407 }
408 debug_struct.finish()
409 }
410}
411
412impl std::fmt::Debug for super::sanitization_result::SanitizationMetadata {
413 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
414 let mut debug_struct = f.debug_struct("SanitizationMetadata");
415 debug_struct.field("error_code", &self.error_code);
416 debug_struct.field("error_message", &self.error_message);
417 debug_struct.field(
418 "ignore_partial_invocation_failures",
419 &self.ignore_partial_invocation_failures,
420 );
421 if !self._unknown_fields.is_empty() {
422 debug_struct.field("_unknown_fields", &self._unknown_fields);
423 }
424 debug_struct.finish()
425 }
426}
427
428impl std::fmt::Debug for super::MultiLanguageDetectionMetadata {
429 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
430 let mut debug_struct = f.debug_struct("MultiLanguageDetectionMetadata");
431 debug_struct.field("source_language", &self.source_language);
432 debug_struct.field(
433 "enable_multi_language_detection",
434 &self.enable_multi_language_detection,
435 );
436 if !self._unknown_fields.is_empty() {
437 debug_struct.field("_unknown_fields", &self._unknown_fields);
438 }
439 debug_struct.finish()
440 }
441}
442
443impl std::fmt::Debug for super::FilterResult {
444 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
445 let mut debug_struct = f.debug_struct("FilterResult");
446 debug_struct.field("filter_result", &self.filter_result);
447 if !self._unknown_fields.is_empty() {
448 debug_struct.field("_unknown_fields", &self._unknown_fields);
449 }
450 debug_struct.finish()
451 }
452}
453
454impl std::fmt::Debug for super::RaiFilterResult {
455 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
456 let mut debug_struct = f.debug_struct("RaiFilterResult");
457 debug_struct.field("execution_state", &self.execution_state);
458 debug_struct.field("message_items", &self.message_items);
459 debug_struct.field("match_state", &self.match_state);
460 debug_struct.field("rai_filter_type_results", &self.rai_filter_type_results);
461 if !self._unknown_fields.is_empty() {
462 debug_struct.field("_unknown_fields", &self._unknown_fields);
463 }
464 debug_struct.finish()
465 }
466}
467
468impl std::fmt::Debug for super::rai_filter_result::RaiFilterTypeResult {
469 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
470 let mut debug_struct = f.debug_struct("RaiFilterTypeResult");
471 debug_struct.field("filter_type", &self.filter_type);
472 debug_struct.field("confidence_level", &self.confidence_level);
473 debug_struct.field("match_state", &self.match_state);
474 if !self._unknown_fields.is_empty() {
475 debug_struct.field("_unknown_fields", &self._unknown_fields);
476 }
477 debug_struct.finish()
478 }
479}
480
481impl std::fmt::Debug for super::SdpFilterResult {
482 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
483 let mut debug_struct = f.debug_struct("SdpFilterResult");
484 debug_struct.field("result", &self.result);
485 if !self._unknown_fields.is_empty() {
486 debug_struct.field("_unknown_fields", &self._unknown_fields);
487 }
488 debug_struct.finish()
489 }
490}
491
492impl std::fmt::Debug for super::SdpInspectResult {
493 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
494 let mut debug_struct = f.debug_struct("SdpInspectResult");
495 debug_struct.field("execution_state", &self.execution_state);
496 debug_struct.field("message_items", &self.message_items);
497 debug_struct.field("match_state", &self.match_state);
498 debug_struct.field("findings", &self.findings);
499 debug_struct.field("findings_truncated", &self.findings_truncated);
500 if !self._unknown_fields.is_empty() {
501 debug_struct.field("_unknown_fields", &self._unknown_fields);
502 }
503 debug_struct.finish()
504 }
505}
506
507impl std::fmt::Debug for super::DataItem {
508 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
509 let mut debug_struct = f.debug_struct("DataItem");
510 debug_struct.field("data_item", &self.data_item);
511 if !self._unknown_fields.is_empty() {
512 debug_struct.field("_unknown_fields", &self._unknown_fields);
513 }
514 debug_struct.finish()
515 }
516}
517
518impl std::fmt::Debug for super::ByteDataItem {
519 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
520 let mut debug_struct = f.debug_struct("ByteDataItem");
521 debug_struct.field("byte_data_type", &self.byte_data_type);
522 debug_struct.field("byte_data", &self.byte_data);
523 if !self._unknown_fields.is_empty() {
524 debug_struct.field("_unknown_fields", &self._unknown_fields);
525 }
526 debug_struct.finish()
527 }
528}
529
530impl std::fmt::Debug for super::SdpDeidentifyResult {
531 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
532 let mut debug_struct = f.debug_struct("SdpDeidentifyResult");
533 debug_struct.field("execution_state", &self.execution_state);
534 debug_struct.field("message_items", &self.message_items);
535 debug_struct.field("match_state", &self.match_state);
536 debug_struct.field("data", &self.data);
537 debug_struct.field("transformed_bytes", &self.transformed_bytes);
538 debug_struct.field("info_types", &self.info_types);
539 if !self._unknown_fields.is_empty() {
540 debug_struct.field("_unknown_fields", &self._unknown_fields);
541 }
542 debug_struct.finish()
543 }
544}
545
546impl std::fmt::Debug for super::SdpFinding {
547 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
548 let mut debug_struct = f.debug_struct("SdpFinding");
549 debug_struct.field("info_type", &self.info_type);
550 debug_struct.field("likelihood", &self.likelihood);
551 debug_struct.field("location", &self.location);
552 if !self._unknown_fields.is_empty() {
553 debug_struct.field("_unknown_fields", &self._unknown_fields);
554 }
555 debug_struct.finish()
556 }
557}
558
559impl std::fmt::Debug for super::sdp_finding::SdpFindingLocation {
560 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
561 let mut debug_struct = f.debug_struct("SdpFindingLocation");
562 debug_struct.field("byte_range", &self.byte_range);
563 debug_struct.field("codepoint_range", &self.codepoint_range);
564 if !self._unknown_fields.is_empty() {
565 debug_struct.field("_unknown_fields", &self._unknown_fields);
566 }
567 debug_struct.finish()
568 }
569}
570
571impl std::fmt::Debug for super::PiAndJailbreakFilterResult {
572 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
573 let mut debug_struct = f.debug_struct("PiAndJailbreakFilterResult");
574 debug_struct.field("execution_state", &self.execution_state);
575 debug_struct.field("message_items", &self.message_items);
576 debug_struct.field("match_state", &self.match_state);
577 debug_struct.field("confidence_level", &self.confidence_level);
578 if !self._unknown_fields.is_empty() {
579 debug_struct.field("_unknown_fields", &self._unknown_fields);
580 }
581 debug_struct.finish()
582 }
583}
584
585impl std::fmt::Debug for super::MaliciousUriFilterResult {
586 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
587 let mut debug_struct = f.debug_struct("MaliciousUriFilterResult");
588 debug_struct.field("execution_state", &self.execution_state);
589 debug_struct.field("message_items", &self.message_items);
590 debug_struct.field("match_state", &self.match_state);
591 debug_struct.field(
592 "malicious_uri_matched_items",
593 &self.malicious_uri_matched_items,
594 );
595 if !self._unknown_fields.is_empty() {
596 debug_struct.field("_unknown_fields", &self._unknown_fields);
597 }
598 debug_struct.finish()
599 }
600}
601
602impl std::fmt::Debug for super::malicious_uri_filter_result::MaliciousUriMatchedItem {
603 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
604 let mut debug_struct = f.debug_struct("MaliciousUriMatchedItem");
605 debug_struct.field("uri", &self.uri);
606 debug_struct.field("locations", &self.locations);
607 if !self._unknown_fields.is_empty() {
608 debug_struct.field("_unknown_fields", &self._unknown_fields);
609 }
610 debug_struct.finish()
611 }
612}
613
614impl std::fmt::Debug for super::VirusScanFilterResult {
615 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
616 let mut debug_struct = f.debug_struct("VirusScanFilterResult");
617 debug_struct.field("execution_state", &self.execution_state);
618 debug_struct.field("message_items", &self.message_items);
619 debug_struct.field("match_state", &self.match_state);
620 debug_struct.field("scanned_content_type", &self.scanned_content_type);
621 debug_struct.field("scanned_size", &self.scanned_size);
622 debug_struct.field("virus_details", &self.virus_details);
623 if !self._unknown_fields.is_empty() {
624 debug_struct.field("_unknown_fields", &self._unknown_fields);
625 }
626 debug_struct.finish()
627 }
628}
629
630impl std::fmt::Debug for super::VirusDetail {
631 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
632 let mut debug_struct = f.debug_struct("VirusDetail");
633 debug_struct.field("vendor", &self.vendor);
634 debug_struct.field("names", &self.names);
635 debug_struct.field("threat_type", &self.threat_type);
636 if !self._unknown_fields.is_empty() {
637 debug_struct.field("_unknown_fields", &self._unknown_fields);
638 }
639 debug_struct.finish()
640 }
641}
642
643impl std::fmt::Debug for super::CsamFilterResult {
644 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
645 let mut debug_struct = f.debug_struct("CsamFilterResult");
646 debug_struct.field("execution_state", &self.execution_state);
647 debug_struct.field("message_items", &self.message_items);
648 debug_struct.field("match_state", &self.match_state);
649 if !self._unknown_fields.is_empty() {
650 debug_struct.field("_unknown_fields", &self._unknown_fields);
651 }
652 debug_struct.finish()
653 }
654}
655
656impl std::fmt::Debug for super::MessageItem {
657 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
658 let mut debug_struct = f.debug_struct("MessageItem");
659 debug_struct.field("message_type", &self.message_type);
660 debug_struct.field("message", &self.message);
661 if !self._unknown_fields.is_empty() {
662 debug_struct.field("_unknown_fields", &self._unknown_fields);
663 }
664 debug_struct.finish()
665 }
666}
667
668impl std::fmt::Debug for super::RangeInfo {
669 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
670 let mut debug_struct = f.debug_struct("RangeInfo");
671 debug_struct.field("start", &self.start);
672 debug_struct.field("end", &self.end);
673 if !self._unknown_fields.is_empty() {
674 debug_struct.field("_unknown_fields", &self._unknown_fields);
675 }
676 debug_struct.finish()
677 }
678}