google_cloud_kms_inventory_v1/model/
debug.rs1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::ListCryptoKeysRequest {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("ListCryptoKeysRequest");
23 debug_struct.field("parent", &self.parent);
24 debug_struct.field("page_size", &self.page_size);
25 debug_struct.field("page_token", &self.page_token);
26 if !self._unknown_fields.is_empty() {
27 debug_struct.field("_unknown_fields", &self._unknown_fields);
28 }
29 debug_struct.finish()
30 }
31}
32
33impl std::fmt::Debug for super::ListCryptoKeysResponse {
34 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
35 let mut debug_struct = f.debug_struct("ListCryptoKeysResponse");
36 debug_struct.field("crypto_keys", &self.crypto_keys);
37 debug_struct.field("next_page_token", &self.next_page_token);
38 if !self._unknown_fields.is_empty() {
39 debug_struct.field("_unknown_fields", &self._unknown_fields);
40 }
41 debug_struct.finish()
42 }
43}
44
45impl std::fmt::Debug for super::GetProtectedResourcesSummaryRequest {
46 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
47 let mut debug_struct = f.debug_struct("GetProtectedResourcesSummaryRequest");
48 debug_struct.field("name", &self.name);
49 debug_struct.field("fallback_scope", &self.fallback_scope);
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::ProtectedResourcesSummary {
58 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
59 let mut debug_struct = f.debug_struct("ProtectedResourcesSummary");
60 debug_struct.field("name", &self.name);
61 debug_struct.field("resource_count", &self.resource_count);
62 debug_struct.field("project_count", &self.project_count);
63 debug_struct.field("resource_types", &self.resource_types);
64 debug_struct.field("cloud_products", &self.cloud_products);
65 debug_struct.field("locations", &self.locations);
66 debug_struct.field("warnings", &self.warnings);
67 if !self._unknown_fields.is_empty() {
68 debug_struct.field("_unknown_fields", &self._unknown_fields);
69 }
70 debug_struct.finish()
71 }
72}
73
74impl std::fmt::Debug for super::SearchProtectedResourcesRequest {
75 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
76 let mut debug_struct = f.debug_struct("SearchProtectedResourcesRequest");
77 debug_struct.field("scope", &self.scope);
78 debug_struct.field("crypto_key", &self.crypto_key);
79 debug_struct.field("page_size", &self.page_size);
80 debug_struct.field("page_token", &self.page_token);
81 debug_struct.field("resource_types", &self.resource_types);
82 if !self._unknown_fields.is_empty() {
83 debug_struct.field("_unknown_fields", &self._unknown_fields);
84 }
85 debug_struct.finish()
86 }
87}
88
89impl std::fmt::Debug for super::SearchProtectedResourcesResponse {
90 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
91 let mut debug_struct = f.debug_struct("SearchProtectedResourcesResponse");
92 debug_struct.field("protected_resources", &self.protected_resources);
93 debug_struct.field("next_page_token", &self.next_page_token);
94 if !self._unknown_fields.is_empty() {
95 debug_struct.field("_unknown_fields", &self._unknown_fields);
96 }
97 debug_struct.finish()
98 }
99}
100
101impl std::fmt::Debug for super::ProtectedResource {
102 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
103 let mut debug_struct = f.debug_struct("ProtectedResource");
104 debug_struct.field("name", &self.name);
105 debug_struct.field("project", &self.project);
106 debug_struct.field("project_id", &self.project_id);
107 debug_struct.field("cloud_product", &self.cloud_product);
108 debug_struct.field("resource_type", &self.resource_type);
109 debug_struct.field("location", &self.location);
110 debug_struct.field("labels", &self.labels);
111 debug_struct.field("crypto_key_version", &self.crypto_key_version);
112 debug_struct.field("crypto_key_versions", &self.crypto_key_versions);
113 debug_struct.field("create_time", &self.create_time);
114 if !self._unknown_fields.is_empty() {
115 debug_struct.field("_unknown_fields", &self._unknown_fields);
116 }
117 debug_struct.finish()
118 }
119}
120
121impl std::fmt::Debug for super::Warning {
122 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
123 let mut debug_struct = f.debug_struct("Warning");
124 debug_struct.field("warning_code", &self.warning_code);
125 debug_struct.field("display_message", &self.display_message);
126 if !self._unknown_fields.is_empty() {
127 debug_struct.field("_unknown_fields", &self._unknown_fields);
128 }
129 debug_struct.finish()
130 }
131}