Skip to main content

google_cloud_modelarmor_v1/model/
debug.rs

1// Copyright 2025 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     https://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// Code generated by sidekick. DO NOT EDIT.
16
17#[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        debug_struct.field("streaming_mode", &self.streaming_mode);
353        if !self._unknown_fields.is_empty() {
354            debug_struct.field("_unknown_fields", &self._unknown_fields);
355        }
356        debug_struct.finish()
357    }
358}
359
360impl std::fmt::Debug for super::SanitizeModelResponseRequest {
361    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
362        let mut debug_struct = f.debug_struct("SanitizeModelResponseRequest");
363        debug_struct.field("name", &self.name);
364        debug_struct.field("model_response_data", &self.model_response_data);
365        debug_struct.field("user_prompt", &self.user_prompt);
366        debug_struct.field(
367            "multi_language_detection_metadata",
368            &self.multi_language_detection_metadata,
369        );
370        debug_struct.field("streaming_mode", &self.streaming_mode);
371        if !self._unknown_fields.is_empty() {
372            debug_struct.field("_unknown_fields", &self._unknown_fields);
373        }
374        debug_struct.finish()
375    }
376}
377
378impl std::fmt::Debug for super::SanitizeUserPromptResponse {
379    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
380        let mut debug_struct = f.debug_struct("SanitizeUserPromptResponse");
381        debug_struct.field("sanitization_result", &self.sanitization_result);
382        if !self._unknown_fields.is_empty() {
383            debug_struct.field("_unknown_fields", &self._unknown_fields);
384        }
385        debug_struct.finish()
386    }
387}
388
389impl std::fmt::Debug for super::SanitizeModelResponseResponse {
390    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
391        let mut debug_struct = f.debug_struct("SanitizeModelResponseResponse");
392        debug_struct.field("sanitization_result", &self.sanitization_result);
393        if !self._unknown_fields.is_empty() {
394            debug_struct.field("_unknown_fields", &self._unknown_fields);
395        }
396        debug_struct.finish()
397    }
398}
399
400impl std::fmt::Debug for super::SanitizationResult {
401    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
402        let mut debug_struct = f.debug_struct("SanitizationResult");
403        debug_struct.field("filter_match_state", &self.filter_match_state);
404        debug_struct.field("filter_results", &self.filter_results);
405        debug_struct.field("invocation_result", &self.invocation_result);
406        debug_struct.field("sanitization_metadata", &self.sanitization_metadata);
407        if !self._unknown_fields.is_empty() {
408            debug_struct.field("_unknown_fields", &self._unknown_fields);
409        }
410        debug_struct.finish()
411    }
412}
413
414impl std::fmt::Debug for super::sanitization_result::SanitizationMetadata {
415    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
416        let mut debug_struct = f.debug_struct("SanitizationMetadata");
417        debug_struct.field("error_code", &self.error_code);
418        debug_struct.field("error_message", &self.error_message);
419        debug_struct.field(
420            "ignore_partial_invocation_failures",
421            &self.ignore_partial_invocation_failures,
422        );
423        debug_struct.field("stream_chunk_processed", &self.stream_chunk_processed);
424        if !self._unknown_fields.is_empty() {
425            debug_struct.field("_unknown_fields", &self._unknown_fields);
426        }
427        debug_struct.finish()
428    }
429}
430
431impl std::fmt::Debug for super::MultiLanguageDetectionMetadata {
432    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
433        let mut debug_struct = f.debug_struct("MultiLanguageDetectionMetadata");
434        debug_struct.field("source_language", &self.source_language);
435        debug_struct.field(
436            "enable_multi_language_detection",
437            &self.enable_multi_language_detection,
438        );
439        if !self._unknown_fields.is_empty() {
440            debug_struct.field("_unknown_fields", &self._unknown_fields);
441        }
442        debug_struct.finish()
443    }
444}
445
446impl std::fmt::Debug for super::FilterResult {
447    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
448        let mut debug_struct = f.debug_struct("FilterResult");
449        debug_struct.field("filter_result", &self.filter_result);
450        if !self._unknown_fields.is_empty() {
451            debug_struct.field("_unknown_fields", &self._unknown_fields);
452        }
453        debug_struct.finish()
454    }
455}
456
457impl std::fmt::Debug for super::RaiFilterResult {
458    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
459        let mut debug_struct = f.debug_struct("RaiFilterResult");
460        debug_struct.field("execution_state", &self.execution_state);
461        debug_struct.field("message_items", &self.message_items);
462        debug_struct.field("match_state", &self.match_state);
463        debug_struct.field("rai_filter_type_results", &self.rai_filter_type_results);
464        if !self._unknown_fields.is_empty() {
465            debug_struct.field("_unknown_fields", &self._unknown_fields);
466        }
467        debug_struct.finish()
468    }
469}
470
471impl std::fmt::Debug for super::rai_filter_result::RaiFilterTypeResult {
472    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
473        let mut debug_struct = f.debug_struct("RaiFilterTypeResult");
474        debug_struct.field("filter_type", &self.filter_type);
475        debug_struct.field("confidence_level", &self.confidence_level);
476        debug_struct.field("match_state", &self.match_state);
477        if !self._unknown_fields.is_empty() {
478            debug_struct.field("_unknown_fields", &self._unknown_fields);
479        }
480        debug_struct.finish()
481    }
482}
483
484impl std::fmt::Debug for super::SdpFilterResult {
485    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
486        let mut debug_struct = f.debug_struct("SdpFilterResult");
487        debug_struct.field("result", &self.result);
488        if !self._unknown_fields.is_empty() {
489            debug_struct.field("_unknown_fields", &self._unknown_fields);
490        }
491        debug_struct.finish()
492    }
493}
494
495impl std::fmt::Debug for super::SdpInspectResult {
496    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
497        let mut debug_struct = f.debug_struct("SdpInspectResult");
498        debug_struct.field("execution_state", &self.execution_state);
499        debug_struct.field("message_items", &self.message_items);
500        debug_struct.field("match_state", &self.match_state);
501        debug_struct.field("findings", &self.findings);
502        debug_struct.field("findings_truncated", &self.findings_truncated);
503        if !self._unknown_fields.is_empty() {
504            debug_struct.field("_unknown_fields", &self._unknown_fields);
505        }
506        debug_struct.finish()
507    }
508}
509
510impl std::fmt::Debug for super::DataItem {
511    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
512        let mut debug_struct = f.debug_struct("DataItem");
513        debug_struct.field("data_item", &self.data_item);
514        if !self._unknown_fields.is_empty() {
515            debug_struct.field("_unknown_fields", &self._unknown_fields);
516        }
517        debug_struct.finish()
518    }
519}
520
521impl std::fmt::Debug for super::ByteDataItem {
522    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
523        let mut debug_struct = f.debug_struct("ByteDataItem");
524        debug_struct.field("byte_data_type", &self.byte_data_type);
525        debug_struct.field("byte_data", &self.byte_data);
526        if !self._unknown_fields.is_empty() {
527            debug_struct.field("_unknown_fields", &self._unknown_fields);
528        }
529        debug_struct.finish()
530    }
531}
532
533impl std::fmt::Debug for super::SdpDeidentifyResult {
534    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
535        let mut debug_struct = f.debug_struct("SdpDeidentifyResult");
536        debug_struct.field("execution_state", &self.execution_state);
537        debug_struct.field("message_items", &self.message_items);
538        debug_struct.field("match_state", &self.match_state);
539        debug_struct.field("data", &self.data);
540        debug_struct.field("transformed_bytes", &self.transformed_bytes);
541        debug_struct.field("info_types", &self.info_types);
542        if !self._unknown_fields.is_empty() {
543            debug_struct.field("_unknown_fields", &self._unknown_fields);
544        }
545        debug_struct.finish()
546    }
547}
548
549impl std::fmt::Debug for super::SdpFinding {
550    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
551        let mut debug_struct = f.debug_struct("SdpFinding");
552        debug_struct.field("info_type", &self.info_type);
553        debug_struct.field("likelihood", &self.likelihood);
554        debug_struct.field("location", &self.location);
555        if !self._unknown_fields.is_empty() {
556            debug_struct.field("_unknown_fields", &self._unknown_fields);
557        }
558        debug_struct.finish()
559    }
560}
561
562impl std::fmt::Debug for super::sdp_finding::SdpFindingLocation {
563    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
564        let mut debug_struct = f.debug_struct("SdpFindingLocation");
565        debug_struct.field("byte_range", &self.byte_range);
566        debug_struct.field("codepoint_range", &self.codepoint_range);
567        if !self._unknown_fields.is_empty() {
568            debug_struct.field("_unknown_fields", &self._unknown_fields);
569        }
570        debug_struct.finish()
571    }
572}
573
574impl std::fmt::Debug for super::PiAndJailbreakFilterResult {
575    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
576        let mut debug_struct = f.debug_struct("PiAndJailbreakFilterResult");
577        debug_struct.field("execution_state", &self.execution_state);
578        debug_struct.field("message_items", &self.message_items);
579        debug_struct.field("match_state", &self.match_state);
580        debug_struct.field("confidence_level", &self.confidence_level);
581        if !self._unknown_fields.is_empty() {
582            debug_struct.field("_unknown_fields", &self._unknown_fields);
583        }
584        debug_struct.finish()
585    }
586}
587
588impl std::fmt::Debug for super::MaliciousUriFilterResult {
589    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
590        let mut debug_struct = f.debug_struct("MaliciousUriFilterResult");
591        debug_struct.field("execution_state", &self.execution_state);
592        debug_struct.field("message_items", &self.message_items);
593        debug_struct.field("match_state", &self.match_state);
594        debug_struct.field(
595            "malicious_uri_matched_items",
596            &self.malicious_uri_matched_items,
597        );
598        if !self._unknown_fields.is_empty() {
599            debug_struct.field("_unknown_fields", &self._unknown_fields);
600        }
601        debug_struct.finish()
602    }
603}
604
605impl std::fmt::Debug for super::malicious_uri_filter_result::MaliciousUriMatchedItem {
606    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
607        let mut debug_struct = f.debug_struct("MaliciousUriMatchedItem");
608        debug_struct.field("uri", &self.uri);
609        debug_struct.field("locations", &self.locations);
610        if !self._unknown_fields.is_empty() {
611            debug_struct.field("_unknown_fields", &self._unknown_fields);
612        }
613        debug_struct.finish()
614    }
615}
616
617impl std::fmt::Debug for super::VirusScanFilterResult {
618    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
619        let mut debug_struct = f.debug_struct("VirusScanFilterResult");
620        debug_struct.field("execution_state", &self.execution_state);
621        debug_struct.field("message_items", &self.message_items);
622        debug_struct.field("match_state", &self.match_state);
623        debug_struct.field("scanned_content_type", &self.scanned_content_type);
624        debug_struct.field("scanned_size", &self.scanned_size);
625        debug_struct.field("virus_details", &self.virus_details);
626        if !self._unknown_fields.is_empty() {
627            debug_struct.field("_unknown_fields", &self._unknown_fields);
628        }
629        debug_struct.finish()
630    }
631}
632
633impl std::fmt::Debug for super::VirusDetail {
634    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
635        let mut debug_struct = f.debug_struct("VirusDetail");
636        debug_struct.field("vendor", &self.vendor);
637        debug_struct.field("names", &self.names);
638        debug_struct.field("threat_type", &self.threat_type);
639        if !self._unknown_fields.is_empty() {
640            debug_struct.field("_unknown_fields", &self._unknown_fields);
641        }
642        debug_struct.finish()
643    }
644}
645
646impl std::fmt::Debug for super::CsamFilterResult {
647    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
648        let mut debug_struct = f.debug_struct("CsamFilterResult");
649        debug_struct.field("execution_state", &self.execution_state);
650        debug_struct.field("message_items", &self.message_items);
651        debug_struct.field("match_state", &self.match_state);
652        if !self._unknown_fields.is_empty() {
653            debug_struct.field("_unknown_fields", &self._unknown_fields);
654        }
655        debug_struct.finish()
656    }
657}
658
659impl std::fmt::Debug for super::MessageItem {
660    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
661        let mut debug_struct = f.debug_struct("MessageItem");
662        debug_struct.field("message_type", &self.message_type);
663        debug_struct.field("message", &self.message);
664        if !self._unknown_fields.is_empty() {
665            debug_struct.field("_unknown_fields", &self._unknown_fields);
666        }
667        debug_struct.finish()
668    }
669}
670
671impl std::fmt::Debug for super::RangeInfo {
672    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
673        let mut debug_struct = f.debug_struct("RangeInfo");
674        debug_struct.field("start", &self.start);
675        debug_struct.field("end", &self.end);
676        if !self._unknown_fields.is_empty() {
677            debug_struct.field("_unknown_fields", &self._unknown_fields);
678        }
679        debug_struct.finish()
680    }
681}