google_cloud_api_serviceusage_v1/model/
debug.rs1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::Service {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("Service");
23 debug_struct.field("name", &self.name);
24 debug_struct.field("parent", &self.parent);
25 debug_struct.field("config", &self.config);
26 debug_struct.field("state", &self.state);
27 if !self._unknown_fields.is_empty() {
28 debug_struct.field("_unknown_fields", &self._unknown_fields);
29 }
30 debug_struct.finish()
31 }
32}
33
34impl std::fmt::Debug for super::ServiceConfig {
35 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
36 let mut debug_struct = f.debug_struct("ServiceConfig");
37 debug_struct.field("name", &self.name);
38 debug_struct.field("title", &self.title);
39 debug_struct.field("apis", &self.apis);
40 debug_struct.field("documentation", &self.documentation);
41 debug_struct.field("quota", &self.quota);
42 debug_struct.field("authentication", &self.authentication);
43 debug_struct.field("usage", &self.usage);
44 debug_struct.field("endpoints", &self.endpoints);
45 debug_struct.field("monitored_resources", &self.monitored_resources);
46 debug_struct.field("monitoring", &self.monitoring);
47 if !self._unknown_fields.is_empty() {
48 debug_struct.field("_unknown_fields", &self._unknown_fields);
49 }
50 debug_struct.finish()
51 }
52}
53
54impl std::fmt::Debug for super::OperationMetadata {
55 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
56 let mut debug_struct = f.debug_struct("OperationMetadata");
57 debug_struct.field("resource_names", &self.resource_names);
58 if !self._unknown_fields.is_empty() {
59 debug_struct.field("_unknown_fields", &self._unknown_fields);
60 }
61 debug_struct.finish()
62 }
63}
64
65impl std::fmt::Debug for super::EnableServiceRequest {
66 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
67 let mut debug_struct = f.debug_struct("EnableServiceRequest");
68 debug_struct.field("name", &self.name);
69 if !self._unknown_fields.is_empty() {
70 debug_struct.field("_unknown_fields", &self._unknown_fields);
71 }
72 debug_struct.finish()
73 }
74}
75
76impl std::fmt::Debug for super::EnableServiceResponse {
77 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
78 let mut debug_struct = f.debug_struct("EnableServiceResponse");
79 debug_struct.field("service", &self.service);
80 if !self._unknown_fields.is_empty() {
81 debug_struct.field("_unknown_fields", &self._unknown_fields);
82 }
83 debug_struct.finish()
84 }
85}
86
87impl std::fmt::Debug for super::DisableServiceRequest {
88 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
89 let mut debug_struct = f.debug_struct("DisableServiceRequest");
90 debug_struct.field("name", &self.name);
91 debug_struct.field(
92 "disable_dependent_services",
93 &self.disable_dependent_services,
94 );
95 debug_struct.field(
96 "check_if_service_has_usage",
97 &self.check_if_service_has_usage,
98 );
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::DisableServiceResponse {
107 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
108 let mut debug_struct = f.debug_struct("DisableServiceResponse");
109 debug_struct.field("service", &self.service);
110 if !self._unknown_fields.is_empty() {
111 debug_struct.field("_unknown_fields", &self._unknown_fields);
112 }
113 debug_struct.finish()
114 }
115}
116
117impl std::fmt::Debug for super::GetServiceRequest {
118 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
119 let mut debug_struct = f.debug_struct("GetServiceRequest");
120 debug_struct.field("name", &self.name);
121 if !self._unknown_fields.is_empty() {
122 debug_struct.field("_unknown_fields", &self._unknown_fields);
123 }
124 debug_struct.finish()
125 }
126}
127
128impl std::fmt::Debug for super::ListServicesRequest {
129 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
130 let mut debug_struct = f.debug_struct("ListServicesRequest");
131 debug_struct.field("parent", &self.parent);
132 debug_struct.field("page_size", &self.page_size);
133 debug_struct.field("page_token", &self.page_token);
134 debug_struct.field("filter", &self.filter);
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::ListServicesResponse {
143 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
144 let mut debug_struct = f.debug_struct("ListServicesResponse");
145 debug_struct.field("services", &self.services);
146 debug_struct.field("next_page_token", &self.next_page_token);
147 if !self._unknown_fields.is_empty() {
148 debug_struct.field("_unknown_fields", &self._unknown_fields);
149 }
150 debug_struct.finish()
151 }
152}
153
154impl std::fmt::Debug for super::BatchEnableServicesRequest {
155 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
156 let mut debug_struct = f.debug_struct("BatchEnableServicesRequest");
157 debug_struct.field("parent", &self.parent);
158 debug_struct.field("service_ids", &self.service_ids);
159 if !self._unknown_fields.is_empty() {
160 debug_struct.field("_unknown_fields", &self._unknown_fields);
161 }
162 debug_struct.finish()
163 }
164}
165
166impl std::fmt::Debug for super::BatchEnableServicesResponse {
167 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
168 let mut debug_struct = f.debug_struct("BatchEnableServicesResponse");
169 debug_struct.field("services", &self.services);
170 debug_struct.field("failures", &self.failures);
171 if !self._unknown_fields.is_empty() {
172 debug_struct.field("_unknown_fields", &self._unknown_fields);
173 }
174 debug_struct.finish()
175 }
176}
177
178impl std::fmt::Debug for super::batch_enable_services_response::EnableFailure {
179 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
180 let mut debug_struct = f.debug_struct("EnableFailure");
181 debug_struct.field("service_id", &self.service_id);
182 debug_struct.field("error_message", &self.error_message);
183 if !self._unknown_fields.is_empty() {
184 debug_struct.field("_unknown_fields", &self._unknown_fields);
185 }
186 debug_struct.finish()
187 }
188}
189
190impl std::fmt::Debug for super::BatchGetServicesRequest {
191 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
192 let mut debug_struct = f.debug_struct("BatchGetServicesRequest");
193 debug_struct.field("parent", &self.parent);
194 debug_struct.field("names", &self.names);
195 if !self._unknown_fields.is_empty() {
196 debug_struct.field("_unknown_fields", &self._unknown_fields);
197 }
198 debug_struct.finish()
199 }
200}
201
202impl std::fmt::Debug for super::BatchGetServicesResponse {
203 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
204 let mut debug_struct = f.debug_struct("BatchGetServicesResponse");
205 debug_struct.field("services", &self.services);
206 if !self._unknown_fields.is_empty() {
207 debug_struct.field("_unknown_fields", &self._unknown_fields);
208 }
209 debug_struct.finish()
210 }
211}