Skip to main content

google_cloud_rapidmigrationassessment_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::GuestOsScan {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("GuestOsScan");
23        debug_struct.field("core_source", &self.core_source);
24        if !self._unknown_fields.is_empty() {
25            debug_struct.field("_unknown_fields", &self._unknown_fields);
26        }
27        debug_struct.finish()
28    }
29}
30
31impl std::fmt::Debug for super::VSphereScan {
32    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
33        let mut debug_struct = f.debug_struct("VSphereScan");
34        debug_struct.field("core_source", &self.core_source);
35        if !self._unknown_fields.is_empty() {
36            debug_struct.field("_unknown_fields", &self._unknown_fields);
37        }
38        debug_struct.finish()
39    }
40}
41
42impl std::fmt::Debug for super::Collector {
43    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
44        let mut debug_struct = f.debug_struct("Collector");
45        debug_struct.field("name", &self.name);
46        debug_struct.field("create_time", &self.create_time);
47        debug_struct.field("update_time", &self.update_time);
48        debug_struct.field("labels", &self.labels);
49        debug_struct.field("display_name", &self.display_name);
50        debug_struct.field("description", &self.description);
51        debug_struct.field("service_account", &self.service_account);
52        debug_struct.field("bucket", &self.bucket);
53        debug_struct.field("expected_asset_count", &self.expected_asset_count);
54        debug_struct.field("state", &self.state);
55        debug_struct.field("client_version", &self.client_version);
56        debug_struct.field("guest_os_scan", &self.guest_os_scan);
57        debug_struct.field("vsphere_scan", &self.vsphere_scan);
58        debug_struct.field("collection_days", &self.collection_days);
59        debug_struct.field("eula_uri", &self.eula_uri);
60        if !self._unknown_fields.is_empty() {
61            debug_struct.field("_unknown_fields", &self._unknown_fields);
62        }
63        debug_struct.finish()
64    }
65}
66
67impl std::fmt::Debug for super::Annotation {
68    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
69        let mut debug_struct = f.debug_struct("Annotation");
70        debug_struct.field("name", &self.name);
71        debug_struct.field("create_time", &self.create_time);
72        debug_struct.field("update_time", &self.update_time);
73        debug_struct.field("labels", &self.labels);
74        debug_struct.field("r#type", &self.r#type);
75        if !self._unknown_fields.is_empty() {
76            debug_struct.field("_unknown_fields", &self._unknown_fields);
77        }
78        debug_struct.finish()
79    }
80}
81
82impl std::fmt::Debug for super::CreateAnnotationRequest {
83    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
84        let mut debug_struct = f.debug_struct("CreateAnnotationRequest");
85        debug_struct.field("parent", &self.parent);
86        debug_struct.field("annotation", &self.annotation);
87        debug_struct.field("request_id", &self.request_id);
88        if !self._unknown_fields.is_empty() {
89            debug_struct.field("_unknown_fields", &self._unknown_fields);
90        }
91        debug_struct.finish()
92    }
93}
94
95impl std::fmt::Debug for super::GetAnnotationRequest {
96    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
97        let mut debug_struct = f.debug_struct("GetAnnotationRequest");
98        debug_struct.field("name", &self.name);
99        if !self._unknown_fields.is_empty() {
100            debug_struct.field("_unknown_fields", &self._unknown_fields);
101        }
102        debug_struct.finish()
103    }
104}
105
106impl std::fmt::Debug for super::CreateCollectorRequest {
107    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
108        let mut debug_struct = f.debug_struct("CreateCollectorRequest");
109        debug_struct.field("parent", &self.parent);
110        debug_struct.field("collector_id", &self.collector_id);
111        debug_struct.field("collector", &self.collector);
112        debug_struct.field("request_id", &self.request_id);
113        if !self._unknown_fields.is_empty() {
114            debug_struct.field("_unknown_fields", &self._unknown_fields);
115        }
116        debug_struct.finish()
117    }
118}
119
120impl std::fmt::Debug for super::ListCollectorsRequest {
121    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
122        let mut debug_struct = f.debug_struct("ListCollectorsRequest");
123        debug_struct.field("parent", &self.parent);
124        debug_struct.field("page_size", &self.page_size);
125        debug_struct.field("page_token", &self.page_token);
126        debug_struct.field("filter", &self.filter);
127        debug_struct.field("order_by", &self.order_by);
128        if !self._unknown_fields.is_empty() {
129            debug_struct.field("_unknown_fields", &self._unknown_fields);
130        }
131        debug_struct.finish()
132    }
133}
134
135impl std::fmt::Debug for super::ListCollectorsResponse {
136    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
137        let mut debug_struct = f.debug_struct("ListCollectorsResponse");
138        debug_struct.field("collectors", &self.collectors);
139        debug_struct.field("next_page_token", &self.next_page_token);
140        debug_struct.field("unreachable", &self.unreachable);
141        if !self._unknown_fields.is_empty() {
142            debug_struct.field("_unknown_fields", &self._unknown_fields);
143        }
144        debug_struct.finish()
145    }
146}
147
148impl std::fmt::Debug for super::GetCollectorRequest {
149    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
150        let mut debug_struct = f.debug_struct("GetCollectorRequest");
151        debug_struct.field("name", &self.name);
152        if !self._unknown_fields.is_empty() {
153            debug_struct.field("_unknown_fields", &self._unknown_fields);
154        }
155        debug_struct.finish()
156    }
157}
158
159impl std::fmt::Debug for super::DeleteCollectorRequest {
160    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
161        let mut debug_struct = f.debug_struct("DeleteCollectorRequest");
162        debug_struct.field("name", &self.name);
163        debug_struct.field("request_id", &self.request_id);
164        if !self._unknown_fields.is_empty() {
165            debug_struct.field("_unknown_fields", &self._unknown_fields);
166        }
167        debug_struct.finish()
168    }
169}
170
171impl std::fmt::Debug for super::UpdateCollectorRequest {
172    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
173        let mut debug_struct = f.debug_struct("UpdateCollectorRequest");
174        debug_struct.field("update_mask", &self.update_mask);
175        debug_struct.field("collector", &self.collector);
176        debug_struct.field("request_id", &self.request_id);
177        if !self._unknown_fields.is_empty() {
178            debug_struct.field("_unknown_fields", &self._unknown_fields);
179        }
180        debug_struct.finish()
181    }
182}
183
184impl std::fmt::Debug for super::ResumeCollectorRequest {
185    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
186        let mut debug_struct = f.debug_struct("ResumeCollectorRequest");
187        debug_struct.field("name", &self.name);
188        debug_struct.field("request_id", &self.request_id);
189        if !self._unknown_fields.is_empty() {
190            debug_struct.field("_unknown_fields", &self._unknown_fields);
191        }
192        debug_struct.finish()
193    }
194}
195
196impl std::fmt::Debug for super::RegisterCollectorRequest {
197    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
198        let mut debug_struct = f.debug_struct("RegisterCollectorRequest");
199        debug_struct.field("name", &self.name);
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::PauseCollectorRequest {
209    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
210        let mut debug_struct = f.debug_struct("PauseCollectorRequest");
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::OperationMetadata {
221    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
222        let mut debug_struct = f.debug_struct("OperationMetadata");
223        debug_struct.field("create_time", &self.create_time);
224        debug_struct.field("end_time", &self.end_time);
225        debug_struct.field("target", &self.target);
226        debug_struct.field("verb", &self.verb);
227        debug_struct.field("status_message", &self.status_message);
228        debug_struct.field("requested_cancellation", &self.requested_cancellation);
229        debug_struct.field("api_version", &self.api_version);
230        if !self._unknown_fields.is_empty() {
231            debug_struct.field("_unknown_fields", &self._unknown_fields);
232        }
233        debug_struct.finish()
234    }
235}