google_cloud_auditmanager_v1/model/
debug.rs1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::EnrollResourceRequest {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("EnrollResourceRequest");
23 debug_struct.field("scope", &self.scope);
24 debug_struct.field("destinations", &self.destinations);
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::enroll_resource_request::EligibleDestination {
33 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
34 let mut debug_struct = f.debug_struct("EligibleDestination");
35 debug_struct.field("eligible_destinations", &self.eligible_destinations);
36 if !self._unknown_fields.is_empty() {
37 debug_struct.field("_unknown_fields", &self._unknown_fields);
38 }
39 debug_struct.finish()
40 }
41}
42
43impl std::fmt::Debug for super::GenerateAuditScopeReportRequest {
44 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
45 let mut debug_struct = f.debug_struct("GenerateAuditScopeReportRequest");
46 debug_struct.field("scope", &self.scope);
47 debug_struct.field("compliance_standard", &self.compliance_standard);
48 debug_struct.field("report_format", &self.report_format);
49 debug_struct.field("compliance_framework", &self.compliance_framework);
50 if !self._unknown_fields.is_empty() {
51 debug_struct.field("_unknown_fields", &self._unknown_fields);
52 }
53 debug_struct.finish()
54 }
55}
56
57impl std::fmt::Debug for super::GenerateAuditReportRequest {
58 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
59 let mut debug_struct = f.debug_struct("GenerateAuditReportRequest");
60 debug_struct.field("scope", &self.scope);
61 debug_struct.field("compliance_standard", &self.compliance_standard);
62 debug_struct.field("report_format", &self.report_format);
63 debug_struct.field("compliance_framework", &self.compliance_framework);
64 debug_struct.field("destination", &self.destination);
65 if !self._unknown_fields.is_empty() {
66 debug_struct.field("_unknown_fields", &self._unknown_fields);
67 }
68 debug_struct.finish()
69 }
70}
71
72impl std::fmt::Debug for super::GetResourceEnrollmentStatusRequest {
73 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
74 let mut debug_struct = f.debug_struct("GetResourceEnrollmentStatusRequest");
75 debug_struct.field("name", &self.name);
76 if !self._unknown_fields.is_empty() {
77 debug_struct.field("_unknown_fields", &self._unknown_fields);
78 }
79 debug_struct.finish()
80 }
81}
82
83impl std::fmt::Debug for super::ListResourceEnrollmentStatusesRequest {
84 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
85 let mut debug_struct = f.debug_struct("ListResourceEnrollmentStatusesRequest");
86 debug_struct.field("parent", &self.parent);
87 debug_struct.field("page_size", &self.page_size);
88 debug_struct.field("page_token", &self.page_token);
89 if !self._unknown_fields.is_empty() {
90 debug_struct.field("_unknown_fields", &self._unknown_fields);
91 }
92 debug_struct.finish()
93 }
94}
95
96impl std::fmt::Debug for super::ListResourceEnrollmentStatusesResponse {
97 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
98 let mut debug_struct = f.debug_struct("ListResourceEnrollmentStatusesResponse");
99 debug_struct.field(
100 "resource_enrollment_statuses",
101 &self.resource_enrollment_statuses,
102 );
103 debug_struct.field("next_page_token", &self.next_page_token);
104 if !self._unknown_fields.is_empty() {
105 debug_struct.field("_unknown_fields", &self._unknown_fields);
106 }
107 debug_struct.finish()
108 }
109}
110
111impl std::fmt::Debug for super::ListAuditReportsRequest {
112 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
113 let mut debug_struct = f.debug_struct("ListAuditReportsRequest");
114 debug_struct.field("parent", &self.parent);
115 debug_struct.field("page_size", &self.page_size);
116 debug_struct.field("page_token", &self.page_token);
117 if !self._unknown_fields.is_empty() {
118 debug_struct.field("_unknown_fields", &self._unknown_fields);
119 }
120 debug_struct.finish()
121 }
122}
123
124impl std::fmt::Debug for super::ListAuditReportsResponse {
125 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
126 let mut debug_struct = f.debug_struct("ListAuditReportsResponse");
127 debug_struct.field("audit_reports", &self.audit_reports);
128 debug_struct.field("next_page_token", &self.next_page_token);
129 if !self._unknown_fields.is_empty() {
130 debug_struct.field("_unknown_fields", &self._unknown_fields);
131 }
132 debug_struct.finish()
133 }
134}
135
136impl std::fmt::Debug for super::GetAuditReportRequest {
137 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
138 let mut debug_struct = f.debug_struct("GetAuditReportRequest");
139 debug_struct.field("name", &self.name);
140 if !self._unknown_fields.is_empty() {
141 debug_struct.field("_unknown_fields", &self._unknown_fields);
142 }
143 debug_struct.finish()
144 }
145}
146
147impl std::fmt::Debug for super::ListControlsRequest {
148 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
149 let mut debug_struct = f.debug_struct("ListControlsRequest");
150 debug_struct.field("parent", &self.parent);
151 debug_struct.field("page_size", &self.page_size);
152 debug_struct.field("page_token", &self.page_token);
153 if !self._unknown_fields.is_empty() {
154 debug_struct.field("_unknown_fields", &self._unknown_fields);
155 }
156 debug_struct.finish()
157 }
158}
159
160impl std::fmt::Debug for super::ListControlsResponse {
161 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
162 let mut debug_struct = f.debug_struct("ListControlsResponse");
163 debug_struct.field("controls", &self.controls);
164 debug_struct.field("next_page_token", &self.next_page_token);
165 if !self._unknown_fields.is_empty() {
166 debug_struct.field("_unknown_fields", &self._unknown_fields);
167 }
168 debug_struct.finish()
169 }
170}
171
172impl std::fmt::Debug for super::ReportGenerationProgress {
173 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
174 let mut debug_struct = f.debug_struct("ReportGenerationProgress");
175 debug_struct.field("state", &self.state);
176 debug_struct.field("failure_reason", &self.failure_reason);
177 debug_struct.field(
178 "evaluation_percent_complete",
179 &self.evaluation_percent_complete,
180 );
181 debug_struct.field(
182 "report_generation_percent_complete",
183 &self.report_generation_percent_complete,
184 );
185 debug_struct.field(
186 "report_uploading_percent_complete",
187 &self.report_uploading_percent_complete,
188 );
189 debug_struct.field("destination_gcs_bucket", &self.destination_gcs_bucket);
190 debug_struct.field("audit_report", &self.audit_report);
191 if !self._unknown_fields.is_empty() {
192 debug_struct.field("_unknown_fields", &self._unknown_fields);
193 }
194 debug_struct.finish()
195 }
196}
197
198impl std::fmt::Debug for super::Enrollment {
199 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
200 let mut debug_struct = f.debug_struct("Enrollment");
201 debug_struct.field("name", &self.name);
202 debug_struct.field("destination_details", &self.destination_details);
203 if !self._unknown_fields.is_empty() {
204 debug_struct.field("_unknown_fields", &self._unknown_fields);
205 }
206 debug_struct.finish()
207 }
208}
209
210impl std::fmt::Debug for super::AuditScopeReport {
211 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
212 let mut debug_struct = f.debug_struct("AuditScopeReport");
213 debug_struct.field("name", &self.name);
214 debug_struct.field("audit_report", &self.audit_report);
215 if !self._unknown_fields.is_empty() {
216 debug_struct.field("_unknown_fields", &self._unknown_fields);
217 }
218 debug_struct.finish()
219 }
220}
221
222impl std::fmt::Debug for super::OperationMetadata {
223 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
224 let mut debug_struct = f.debug_struct("OperationMetadata");
225 debug_struct.field("create_time", &self.create_time);
226 debug_struct.field("end_time", &self.end_time);
227 debug_struct.field("target", &self.target);
228 debug_struct.field("verb", &self.verb);
229 debug_struct.field("status_message", &self.status_message);
230 debug_struct.field("requested_cancellation", &self.requested_cancellation);
231 debug_struct.field("api_version", &self.api_version);
232 if !self._unknown_fields.is_empty() {
233 debug_struct.field("_unknown_fields", &self._unknown_fields);
234 }
235 debug_struct.finish()
236 }
237}
238
239impl std::fmt::Debug for super::ResourceEnrollmentStatus {
240 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
241 let mut debug_struct = f.debug_struct("ResourceEnrollmentStatus");
242 debug_struct.field("name", &self.name);
243 debug_struct.field("enrollment", &self.enrollment);
244 debug_struct.field("enrolled", &self.enrolled);
245 debug_struct.field("display_name", &self.display_name);
246 debug_struct.field("enrollment_state", &self.enrollment_state);
247 if !self._unknown_fields.is_empty() {
248 debug_struct.field("_unknown_fields", &self._unknown_fields);
249 }
250 debug_struct.finish()
251 }
252}
253
254impl std::fmt::Debug for super::AuditReport {
255 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
256 let mut debug_struct = f.debug_struct("AuditReport");
257 debug_struct.field("name", &self.name);
258 debug_struct.field("report_summary", &self.report_summary);
259 debug_struct.field("operation_id", &self.operation_id);
260 debug_struct.field("destination_details", &self.destination_details);
261 debug_struct.field("compliance_standard", &self.compliance_standard);
262 debug_struct.field("scope", &self.scope);
263 debug_struct.field("create_time", &self.create_time);
264 debug_struct.field("control_details", &self.control_details);
265 debug_struct.field("report_generation_state", &self.report_generation_state);
266 debug_struct.field("compliance_framework", &self.compliance_framework);
267 debug_struct.field("scope_id", &self.scope_id);
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::ControlFamily {
276 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
277 let mut debug_struct = f.debug_struct("ControlFamily");
278 debug_struct.field("family_id", &self.family_id);
279 debug_struct.field("display_name", &self.display_name);
280 if !self._unknown_fields.is_empty() {
281 debug_struct.field("_unknown_fields", &self._unknown_fields);
282 }
283 debug_struct.finish()
284 }
285}
286
287impl std::fmt::Debug for super::Control {
288 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
289 let mut debug_struct = f.debug_struct("Control");
290 debug_struct.field("id", &self.id);
291 debug_struct.field("display_name", &self.display_name);
292 debug_struct.field("family", &self.family);
293 debug_struct.field("control_family", &self.control_family);
294 debug_struct.field("description", &self.description);
295 debug_struct.field("responsibility_type", &self.responsibility_type);
296 debug_struct.field(
297 "google_responsibility_description",
298 &self.google_responsibility_description,
299 );
300 debug_struct.field(
301 "google_responsibility_implementation",
302 &self.google_responsibility_implementation,
303 );
304 debug_struct.field(
305 "customer_responsibility_description",
306 &self.customer_responsibility_description,
307 );
308 debug_struct.field(
309 "customer_responsibility_implementation",
310 &self.customer_responsibility_implementation,
311 );
312 if !self._unknown_fields.is_empty() {
313 debug_struct.field("_unknown_fields", &self._unknown_fields);
314 }
315 debug_struct.finish()
316 }
317}
318
319impl std::fmt::Debug for super::DestinationDetails {
320 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
321 let mut debug_struct = f.debug_struct("DestinationDetails");
322 debug_struct.field("destination", &self.destination);
323 if !self._unknown_fields.is_empty() {
324 debug_struct.field("_unknown_fields", &self._unknown_fields);
325 }
326 debug_struct.finish()
327 }
328}
329
330impl std::fmt::Debug for super::ReportSummary {
331 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
332 let mut debug_struct = f.debug_struct("ReportSummary");
333 debug_struct.field("total_count", &self.total_count);
334 debug_struct.field("compliant_count", &self.compliant_count);
335 debug_struct.field("violation_count", &self.violation_count);
336 debug_struct.field(
337 "manual_review_needed_count",
338 &self.manual_review_needed_count,
339 );
340 debug_struct.field("error_count", &self.error_count);
341 if !self._unknown_fields.is_empty() {
342 debug_struct.field("_unknown_fields", &self._unknown_fields);
343 }
344 debug_struct.finish()
345 }
346}
347
348impl std::fmt::Debug for super::ControlDetails {
349 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
350 let mut debug_struct = f.debug_struct("ControlDetails");
351 debug_struct.field("control", &self.control);
352 debug_struct.field("compliance_state", &self.compliance_state);
353 debug_struct.field("control_report_summary", &self.control_report_summary);
354 if !self._unknown_fields.is_empty() {
355 debug_struct.field("_unknown_fields", &self._unknown_fields);
356 }
357 debug_struct.finish()
358 }
359}