google_cloud_api_servicecontrol_v2/model/
debug.rs1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::CheckRequest {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("CheckRequest");
23 debug_struct.field("service_name", &self.service_name);
24 debug_struct.field("service_config_id", &self.service_config_id);
25 debug_struct.field("attributes", &self.attributes);
26 debug_struct.field("resources", &self.resources);
27 debug_struct.field("flags", &self.flags);
28 if !self._unknown_fields.is_empty() {
29 debug_struct.field("_unknown_fields", &self._unknown_fields);
30 }
31 debug_struct.finish()
32 }
33}
34
35impl std::fmt::Debug for super::ResourceInfo {
36 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
37 let mut debug_struct = f.debug_struct("ResourceInfo");
38 debug_struct.field("name", &self.name);
39 debug_struct.field("r#type", &self.r#type);
40 debug_struct.field("permission", &self.permission);
41 debug_struct.field("container", &self.container);
42 debug_struct.field("location", &self.location);
43 if !self._unknown_fields.is_empty() {
44 debug_struct.field("_unknown_fields", &self._unknown_fields);
45 }
46 debug_struct.finish()
47 }
48}
49
50impl std::fmt::Debug for super::CheckResponse {
51 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
52 let mut debug_struct = f.debug_struct("CheckResponse");
53 debug_struct.field("status", &self.status);
54 debug_struct.field("headers", &self.headers);
55 if !self._unknown_fields.is_empty() {
56 debug_struct.field("_unknown_fields", &self._unknown_fields);
57 }
58 debug_struct.finish()
59 }
60}
61
62impl std::fmt::Debug for super::ReportRequest {
63 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
64 let mut debug_struct = f.debug_struct("ReportRequest");
65 debug_struct.field("service_name", &self.service_name);
66 debug_struct.field("service_config_id", &self.service_config_id);
67 debug_struct.field("operations", &self.operations);
68 if !self._unknown_fields.is_empty() {
69 debug_struct.field("_unknown_fields", &self._unknown_fields);
70 }
71 debug_struct.finish()
72 }
73}
74
75impl std::fmt::Debug for super::ReportResponse {
76 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
77 let mut debug_struct = f.debug_struct("ReportResponse");
78 if !self._unknown_fields.is_empty() {
79 debug_struct.field("_unknown_fields", &self._unknown_fields);
80 }
81 debug_struct.finish()
82 }
83}
84
85impl std::fmt::Debug for super::ResourceInfoList {
86 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
87 let mut debug_struct = f.debug_struct("ResourceInfoList");
88 debug_struct.field("resources", &self.resources);
89 if !self._unknown_fields.is_empty() {
90 debug_struct.field("_unknown_fields", &self._unknown_fields);
91 }
92 debug_struct.finish()
93 }
94}