google_cloud_aiplatform_v1_schema_predict_instance/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::ImageClassificationPredictionInstance {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("ImageClassificationPredictionInstance");
23        debug_struct.field("content", &self.content);
24        debug_struct.field("mime_type", &self.mime_type);
25        if !self._unknown_fields.is_empty() {
26            debug_struct.field("_unknown_fields", &self._unknown_fields);
27        }
28        debug_struct.finish()
29    }
30}
31
32impl std::fmt::Debug for super::ImageObjectDetectionPredictionInstance {
33    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
34        let mut debug_struct = f.debug_struct("ImageObjectDetectionPredictionInstance");
35        debug_struct.field("content", &self.content);
36        debug_struct.field("mime_type", &self.mime_type);
37        if !self._unknown_fields.is_empty() {
38            debug_struct.field("_unknown_fields", &self._unknown_fields);
39        }
40        debug_struct.finish()
41    }
42}
43
44impl std::fmt::Debug for super::ImageSegmentationPredictionInstance {
45    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
46        let mut debug_struct = f.debug_struct("ImageSegmentationPredictionInstance");
47        debug_struct.field("content", &self.content);
48        debug_struct.field("mime_type", &self.mime_type);
49        if !self._unknown_fields.is_empty() {
50            debug_struct.field("_unknown_fields", &self._unknown_fields);
51        }
52        debug_struct.finish()
53    }
54}
55
56impl std::fmt::Debug for super::TextClassificationPredictionInstance {
57    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
58        let mut debug_struct = f.debug_struct("TextClassificationPredictionInstance");
59        debug_struct.field("content", &self.content);
60        debug_struct.field("mime_type", &self.mime_type);
61        if !self._unknown_fields.is_empty() {
62            debug_struct.field("_unknown_fields", &self._unknown_fields);
63        }
64        debug_struct.finish()
65    }
66}
67
68impl std::fmt::Debug for super::TextExtractionPredictionInstance {
69    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
70        let mut debug_struct = f.debug_struct("TextExtractionPredictionInstance");
71        debug_struct.field("content", &self.content);
72        debug_struct.field("mime_type", &self.mime_type);
73        debug_struct.field("key", &self.key);
74        if !self._unknown_fields.is_empty() {
75            debug_struct.field("_unknown_fields", &self._unknown_fields);
76        }
77        debug_struct.finish()
78    }
79}
80
81impl std::fmt::Debug for super::TextSentimentPredictionInstance {
82    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
83        let mut debug_struct = f.debug_struct("TextSentimentPredictionInstance");
84        debug_struct.field("content", &self.content);
85        debug_struct.field("mime_type", &self.mime_type);
86        if !self._unknown_fields.is_empty() {
87            debug_struct.field("_unknown_fields", &self._unknown_fields);
88        }
89        debug_struct.finish()
90    }
91}
92
93impl std::fmt::Debug for super::VideoActionRecognitionPredictionInstance {
94    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
95        let mut debug_struct = f.debug_struct("VideoActionRecognitionPredictionInstance");
96        debug_struct.field("content", &self.content);
97        debug_struct.field("mime_type", &self.mime_type);
98        debug_struct.field("time_segment_start", &self.time_segment_start);
99        debug_struct.field("time_segment_end", &self.time_segment_end);
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::VideoClassificationPredictionInstance {
108    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
109        let mut debug_struct = f.debug_struct("VideoClassificationPredictionInstance");
110        debug_struct.field("content", &self.content);
111        debug_struct.field("mime_type", &self.mime_type);
112        debug_struct.field("time_segment_start", &self.time_segment_start);
113        debug_struct.field("time_segment_end", &self.time_segment_end);
114        if !self._unknown_fields.is_empty() {
115            debug_struct.field("_unknown_fields", &self._unknown_fields);
116        }
117        debug_struct.finish()
118    }
119}
120
121impl std::fmt::Debug for super::VideoObjectTrackingPredictionInstance {
122    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
123        let mut debug_struct = f.debug_struct("VideoObjectTrackingPredictionInstance");
124        debug_struct.field("content", &self.content);
125        debug_struct.field("mime_type", &self.mime_type);
126        debug_struct.field("time_segment_start", &self.time_segment_start);
127        debug_struct.field("time_segment_end", &self.time_segment_end);
128        if !self._unknown_fields.is_empty() {
129            debug_struct.field("_unknown_fields", &self._unknown_fields);
130        }
131        debug_struct.finish()
132    }
133}