google_cloud_commerce_consumer_procurement_v1/model/
debug.rs1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::AssignmentProtocol {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("AssignmentProtocol");
23 debug_struct.field("assignment_type", &self.assignment_type);
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::assignment_protocol::ManualAssignmentType {
32 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
33 let mut debug_struct = f.debug_struct("ManualAssignmentType");
34 if !self._unknown_fields.is_empty() {
35 debug_struct.field("_unknown_fields", &self._unknown_fields);
36 }
37 debug_struct.finish()
38 }
39}
40
41impl std::fmt::Debug for super::assignment_protocol::AutoAssignmentType {
42 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
43 let mut debug_struct = f.debug_struct("AutoAssignmentType");
44 debug_struct.field("inactive_license_ttl", &self.inactive_license_ttl);
45 if !self._unknown_fields.is_empty() {
46 debug_struct.field("_unknown_fields", &self._unknown_fields);
47 }
48 debug_struct.finish()
49 }
50}
51
52impl std::fmt::Debug for super::LicensePool {
53 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
54 let mut debug_struct = f.debug_struct("LicensePool");
55 debug_struct.field("name", &self.name);
56 debug_struct.field(
57 "license_assignment_protocol",
58 &self.license_assignment_protocol,
59 );
60 debug_struct.field("available_license_count", &self.available_license_count);
61 debug_struct.field("total_license_count", &self.total_license_count);
62 if !self._unknown_fields.is_empty() {
63 debug_struct.field("_unknown_fields", &self._unknown_fields);
64 }
65 debug_struct.finish()
66 }
67}
68
69impl std::fmt::Debug for super::GetLicensePoolRequest {
70 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
71 let mut debug_struct = f.debug_struct("GetLicensePoolRequest");
72 debug_struct.field("name", &self.name);
73 if !self._unknown_fields.is_empty() {
74 debug_struct.field("_unknown_fields", &self._unknown_fields);
75 }
76 debug_struct.finish()
77 }
78}
79
80impl std::fmt::Debug for super::UpdateLicensePoolRequest {
81 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
82 let mut debug_struct = f.debug_struct("UpdateLicensePoolRequest");
83 debug_struct.field("license_pool", &self.license_pool);
84 debug_struct.field("update_mask", &self.update_mask);
85 if !self._unknown_fields.is_empty() {
86 debug_struct.field("_unknown_fields", &self._unknown_fields);
87 }
88 debug_struct.finish()
89 }
90}
91
92impl std::fmt::Debug for super::AssignRequest {
93 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
94 let mut debug_struct = f.debug_struct("AssignRequest");
95 debug_struct.field("parent", &self.parent);
96 debug_struct.field("usernames", &self.usernames);
97 if !self._unknown_fields.is_empty() {
98 debug_struct.field("_unknown_fields", &self._unknown_fields);
99 }
100 debug_struct.finish()
101 }
102}
103
104impl std::fmt::Debug for super::AssignResponse {
105 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
106 let mut debug_struct = f.debug_struct("AssignResponse");
107 if !self._unknown_fields.is_empty() {
108 debug_struct.field("_unknown_fields", &self._unknown_fields);
109 }
110 debug_struct.finish()
111 }
112}
113
114impl std::fmt::Debug for super::UnassignRequest {
115 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
116 let mut debug_struct = f.debug_struct("UnassignRequest");
117 debug_struct.field("parent", &self.parent);
118 debug_struct.field("usernames", &self.usernames);
119 if !self._unknown_fields.is_empty() {
120 debug_struct.field("_unknown_fields", &self._unknown_fields);
121 }
122 debug_struct.finish()
123 }
124}
125
126impl std::fmt::Debug for super::UnassignResponse {
127 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
128 let mut debug_struct = f.debug_struct("UnassignResponse");
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::EnumerateLicensedUsersRequest {
137 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
138 let mut debug_struct = f.debug_struct("EnumerateLicensedUsersRequest");
139 debug_struct.field("parent", &self.parent);
140 debug_struct.field("page_size", &self.page_size);
141 debug_struct.field("page_token", &self.page_token);
142 if !self._unknown_fields.is_empty() {
143 debug_struct.field("_unknown_fields", &self._unknown_fields);
144 }
145 debug_struct.finish()
146 }
147}
148
149impl std::fmt::Debug for super::LicensedUser {
150 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
151 let mut debug_struct = f.debug_struct("LicensedUser");
152 debug_struct.field("username", &self.username);
153 debug_struct.field("assign_time", &self.assign_time);
154 debug_struct.field("recent_usage_time", &self.recent_usage_time);
155 if !self._unknown_fields.is_empty() {
156 debug_struct.field("_unknown_fields", &self._unknown_fields);
157 }
158 debug_struct.finish()
159 }
160}
161
162impl std::fmt::Debug for super::EnumerateLicensedUsersResponse {
163 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
164 let mut debug_struct = f.debug_struct("EnumerateLicensedUsersResponse");
165 debug_struct.field("licensed_users", &self.licensed_users);
166 debug_struct.field("next_page_token", &self.next_page_token);
167 if !self._unknown_fields.is_empty() {
168 debug_struct.field("_unknown_fields", &self._unknown_fields);
169 }
170 debug_struct.finish()
171 }
172}
173
174impl std::fmt::Debug for super::Order {
175 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
176 let mut debug_struct = f.debug_struct("Order");
177 debug_struct.field("name", &self.name);
178 debug_struct.field("display_name", &self.display_name);
179 debug_struct.field("line_items", &self.line_items);
180 debug_struct.field("cancelled_line_items", &self.cancelled_line_items);
181 debug_struct.field("create_time", &self.create_time);
182 debug_struct.field("update_time", &self.update_time);
183 debug_struct.field("etag", &self.etag);
184 if !self._unknown_fields.is_empty() {
185 debug_struct.field("_unknown_fields", &self._unknown_fields);
186 }
187 debug_struct.finish()
188 }
189}
190
191impl std::fmt::Debug for super::LineItem {
192 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
193 let mut debug_struct = f.debug_struct("LineItem");
194 debug_struct.field("line_item_id", &self.line_item_id);
195 debug_struct.field("line_item_info", &self.line_item_info);
196 debug_struct.field("pending_change", &self.pending_change);
197 debug_struct.field("change_history", &self.change_history);
198 if !self._unknown_fields.is_empty() {
199 debug_struct.field("_unknown_fields", &self._unknown_fields);
200 }
201 debug_struct.finish()
202 }
203}
204
205impl std::fmt::Debug for super::LineItemChange {
206 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
207 let mut debug_struct = f.debug_struct("LineItemChange");
208 debug_struct.field("change_id", &self.change_id);
209 debug_struct.field("change_type", &self.change_type);
210 debug_struct.field("old_line_item_info", &self.old_line_item_info);
211 debug_struct.field("new_line_item_info", &self.new_line_item_info);
212 debug_struct.field("change_state", &self.change_state);
213 debug_struct.field("state_reason", &self.state_reason);
214 debug_struct.field("change_state_reason_type", &self.change_state_reason_type);
215 debug_struct.field("change_effective_time", &self.change_effective_time);
216 debug_struct.field("create_time", &self.create_time);
217 debug_struct.field("update_time", &self.update_time);
218 if !self._unknown_fields.is_empty() {
219 debug_struct.field("_unknown_fields", &self._unknown_fields);
220 }
221 debug_struct.finish()
222 }
223}
224
225impl std::fmt::Debug for super::LineItemInfo {
226 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
227 let mut debug_struct = f.debug_struct("LineItemInfo");
228 debug_struct.field("offer", &self.offer);
229 debug_struct.field("parameters", &self.parameters);
230 debug_struct.field("subscription", &self.subscription);
231 if !self._unknown_fields.is_empty() {
232 debug_struct.field("_unknown_fields", &self._unknown_fields);
233 }
234 debug_struct.finish()
235 }
236}
237
238impl std::fmt::Debug for super::Parameter {
239 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
240 let mut debug_struct = f.debug_struct("Parameter");
241 debug_struct.field("name", &self.name);
242 debug_struct.field("value", &self.value);
243 if !self._unknown_fields.is_empty() {
244 debug_struct.field("_unknown_fields", &self._unknown_fields);
245 }
246 debug_struct.finish()
247 }
248}
249
250impl std::fmt::Debug for super::parameter::Value {
251 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
252 let mut debug_struct = f.debug_struct("Value");
253 debug_struct.field("kind", &self.kind);
254 if !self._unknown_fields.is_empty() {
255 debug_struct.field("_unknown_fields", &self._unknown_fields);
256 }
257 debug_struct.finish()
258 }
259}
260
261impl std::fmt::Debug for super::Subscription {
262 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
263 let mut debug_struct = f.debug_struct("Subscription");
264 debug_struct.field("start_time", &self.start_time);
265 debug_struct.field("end_time", &self.end_time);
266 debug_struct.field("auto_renewal_enabled", &self.auto_renewal_enabled);
267 if !self._unknown_fields.is_empty() {
268 debug_struct.field("_unknown_fields", &self._unknown_fields);
269 }
270 debug_struct.finish()
271 }
272}
273
274impl std::fmt::Debug for super::PlaceOrderRequest {
275 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
276 let mut debug_struct = f.debug_struct("PlaceOrderRequest");
277 debug_struct.field("parent", &self.parent);
278 debug_struct.field("display_name", &self.display_name);
279 debug_struct.field("line_item_info", &self.line_item_info);
280 debug_struct.field("request_id", &self.request_id);
281 if !self._unknown_fields.is_empty() {
282 debug_struct.field("_unknown_fields", &self._unknown_fields);
283 }
284 debug_struct.finish()
285 }
286}
287
288impl std::fmt::Debug for super::PlaceOrderMetadata {
289 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
290 let mut debug_struct = f.debug_struct("PlaceOrderMetadata");
291 if !self._unknown_fields.is_empty() {
292 debug_struct.field("_unknown_fields", &self._unknown_fields);
293 }
294 debug_struct.finish()
295 }
296}
297
298impl std::fmt::Debug for super::GetOrderRequest {
299 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
300 let mut debug_struct = f.debug_struct("GetOrderRequest");
301 debug_struct.field("name", &self.name);
302 if !self._unknown_fields.is_empty() {
303 debug_struct.field("_unknown_fields", &self._unknown_fields);
304 }
305 debug_struct.finish()
306 }
307}
308
309impl std::fmt::Debug for super::ListOrdersRequest {
310 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
311 let mut debug_struct = f.debug_struct("ListOrdersRequest");
312 debug_struct.field("parent", &self.parent);
313 debug_struct.field("page_size", &self.page_size);
314 debug_struct.field("page_token", &self.page_token);
315 debug_struct.field("filter", &self.filter);
316 if !self._unknown_fields.is_empty() {
317 debug_struct.field("_unknown_fields", &self._unknown_fields);
318 }
319 debug_struct.finish()
320 }
321}
322
323impl std::fmt::Debug for super::ListOrdersResponse {
324 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
325 let mut debug_struct = f.debug_struct("ListOrdersResponse");
326 debug_struct.field("orders", &self.orders);
327 debug_struct.field("next_page_token", &self.next_page_token);
328 if !self._unknown_fields.is_empty() {
329 debug_struct.field("_unknown_fields", &self._unknown_fields);
330 }
331 debug_struct.finish()
332 }
333}
334
335impl std::fmt::Debug for super::ModifyOrderRequest {
336 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
337 let mut debug_struct = f.debug_struct("ModifyOrderRequest");
338 debug_struct.field("name", &self.name);
339 debug_struct.field("modifications", &self.modifications);
340 debug_struct.field("display_name", &self.display_name);
341 debug_struct.field("etag", &self.etag);
342 if !self._unknown_fields.is_empty() {
343 debug_struct.field("_unknown_fields", &self._unknown_fields);
344 }
345 debug_struct.finish()
346 }
347}
348
349impl std::fmt::Debug for super::modify_order_request::Modification {
350 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
351 let mut debug_struct = f.debug_struct("Modification");
352 debug_struct.field("line_item_id", &self.line_item_id);
353 debug_struct.field("change_type", &self.change_type);
354 debug_struct.field("new_line_item_info", &self.new_line_item_info);
355 debug_struct.field("auto_renewal_behavior", &self.auto_renewal_behavior);
356 if !self._unknown_fields.is_empty() {
357 debug_struct.field("_unknown_fields", &self._unknown_fields);
358 }
359 debug_struct.finish()
360 }
361}
362
363impl std::fmt::Debug for super::ModifyOrderMetadata {
364 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
365 let mut debug_struct = f.debug_struct("ModifyOrderMetadata");
366 if !self._unknown_fields.is_empty() {
367 debug_struct.field("_unknown_fields", &self._unknown_fields);
368 }
369 debug_struct.finish()
370 }
371}
372
373impl std::fmt::Debug for super::CancelOrderRequest {
374 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
375 let mut debug_struct = f.debug_struct("CancelOrderRequest");
376 debug_struct.field("name", &self.name);
377 debug_struct.field("etag", &self.etag);
378 debug_struct.field("cancellation_policy", &self.cancellation_policy);
379 if !self._unknown_fields.is_empty() {
380 debug_struct.field("_unknown_fields", &self._unknown_fields);
381 }
382 debug_struct.finish()
383 }
384}
385
386impl std::fmt::Debug for super::CancelOrderMetadata {
387 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
388 let mut debug_struct = f.debug_struct("CancelOrderMetadata");
389 if !self._unknown_fields.is_empty() {
390 debug_struct.field("_unknown_fields", &self._unknown_fields);
391 }
392 debug_struct.finish()
393 }
394}