google_cloud_apikeys_v2/model/
debug.rs1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::CreateKeyRequest {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("CreateKeyRequest");
23 debug_struct.field("parent", &self.parent);
24 debug_struct.field("key", &self.key);
25 debug_struct.field("key_id", &self.key_id);
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::ListKeysRequest {
34 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
35 let mut debug_struct = f.debug_struct("ListKeysRequest");
36 debug_struct.field("parent", &self.parent);
37 debug_struct.field("page_size", &self.page_size);
38 debug_struct.field("page_token", &self.page_token);
39 debug_struct.field("show_deleted", &self.show_deleted);
40 if !self._unknown_fields.is_empty() {
41 debug_struct.field("_unknown_fields", &self._unknown_fields);
42 }
43 debug_struct.finish()
44 }
45}
46
47impl std::fmt::Debug for super::ListKeysResponse {
48 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
49 let mut debug_struct = f.debug_struct("ListKeysResponse");
50 debug_struct.field("keys", &self.keys);
51 debug_struct.field("next_page_token", &self.next_page_token);
52 if !self._unknown_fields.is_empty() {
53 debug_struct.field("_unknown_fields", &self._unknown_fields);
54 }
55 debug_struct.finish()
56 }
57}
58
59impl std::fmt::Debug for super::GetKeyRequest {
60 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
61 let mut debug_struct = f.debug_struct("GetKeyRequest");
62 debug_struct.field("name", &self.name);
63 if !self._unknown_fields.is_empty() {
64 debug_struct.field("_unknown_fields", &self._unknown_fields);
65 }
66 debug_struct.finish()
67 }
68}
69
70impl std::fmt::Debug for super::GetKeyStringRequest {
71 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
72 let mut debug_struct = f.debug_struct("GetKeyStringRequest");
73 debug_struct.field("name", &self.name);
74 if !self._unknown_fields.is_empty() {
75 debug_struct.field("_unknown_fields", &self._unknown_fields);
76 }
77 debug_struct.finish()
78 }
79}
80
81impl std::fmt::Debug for super::GetKeyStringResponse {
82 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
83 let mut debug_struct = f.debug_struct("GetKeyStringResponse");
84 debug_struct.field("key_string", &self.key_string);
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::UpdateKeyRequest {
93 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
94 let mut debug_struct = f.debug_struct("UpdateKeyRequest");
95 debug_struct.field("key", &self.key);
96 debug_struct.field("update_mask", &self.update_mask);
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::DeleteKeyRequest {
105 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
106 let mut debug_struct = f.debug_struct("DeleteKeyRequest");
107 debug_struct.field("name", &self.name);
108 debug_struct.field("etag", &self.etag);
109 if !self._unknown_fields.is_empty() {
110 debug_struct.field("_unknown_fields", &self._unknown_fields);
111 }
112 debug_struct.finish()
113 }
114}
115
116impl std::fmt::Debug for super::UndeleteKeyRequest {
117 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
118 let mut debug_struct = f.debug_struct("UndeleteKeyRequest");
119 debug_struct.field("name", &self.name);
120 if !self._unknown_fields.is_empty() {
121 debug_struct.field("_unknown_fields", &self._unknown_fields);
122 }
123 debug_struct.finish()
124 }
125}
126
127impl std::fmt::Debug for super::LookupKeyRequest {
128 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
129 let mut debug_struct = f.debug_struct("LookupKeyRequest");
130 debug_struct.field("key_string", &self.key_string);
131 if !self._unknown_fields.is_empty() {
132 debug_struct.field("_unknown_fields", &self._unknown_fields);
133 }
134 debug_struct.finish()
135 }
136}
137
138impl std::fmt::Debug for super::LookupKeyResponse {
139 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
140 let mut debug_struct = f.debug_struct("LookupKeyResponse");
141 debug_struct.field("parent", &self.parent);
142 debug_struct.field("name", &self.name);
143 if !self._unknown_fields.is_empty() {
144 debug_struct.field("_unknown_fields", &self._unknown_fields);
145 }
146 debug_struct.finish()
147 }
148}
149
150impl std::fmt::Debug for super::Key {
151 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
152 let mut debug_struct = f.debug_struct("Key");
153 debug_struct.field("name", &self.name);
154 debug_struct.field("uid", &self.uid);
155 debug_struct.field("display_name", &self.display_name);
156 debug_struct.field("key_string", &self.key_string);
157 debug_struct.field("create_time", &self.create_time);
158 debug_struct.field("update_time", &self.update_time);
159 debug_struct.field("delete_time", &self.delete_time);
160 debug_struct.field("annotations", &self.annotations);
161 debug_struct.field("restrictions", &self.restrictions);
162 debug_struct.field("etag", &self.etag);
163 if !self._unknown_fields.is_empty() {
164 debug_struct.field("_unknown_fields", &self._unknown_fields);
165 }
166 debug_struct.finish()
167 }
168}
169
170impl std::fmt::Debug for super::Restrictions {
171 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
172 let mut debug_struct = f.debug_struct("Restrictions");
173 debug_struct.field("api_targets", &self.api_targets);
174 debug_struct.field("client_restrictions", &self.client_restrictions);
175 if !self._unknown_fields.is_empty() {
176 debug_struct.field("_unknown_fields", &self._unknown_fields);
177 }
178 debug_struct.finish()
179 }
180}
181
182impl std::fmt::Debug for super::BrowserKeyRestrictions {
183 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
184 let mut debug_struct = f.debug_struct("BrowserKeyRestrictions");
185 debug_struct.field("allowed_referrers", &self.allowed_referrers);
186 if !self._unknown_fields.is_empty() {
187 debug_struct.field("_unknown_fields", &self._unknown_fields);
188 }
189 debug_struct.finish()
190 }
191}
192
193impl std::fmt::Debug for super::ServerKeyRestrictions {
194 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
195 let mut debug_struct = f.debug_struct("ServerKeyRestrictions");
196 debug_struct.field("allowed_ips", &self.allowed_ips);
197 if !self._unknown_fields.is_empty() {
198 debug_struct.field("_unknown_fields", &self._unknown_fields);
199 }
200 debug_struct.finish()
201 }
202}
203
204impl std::fmt::Debug for super::AndroidKeyRestrictions {
205 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
206 let mut debug_struct = f.debug_struct("AndroidKeyRestrictions");
207 debug_struct.field("allowed_applications", &self.allowed_applications);
208 if !self._unknown_fields.is_empty() {
209 debug_struct.field("_unknown_fields", &self._unknown_fields);
210 }
211 debug_struct.finish()
212 }
213}
214
215impl std::fmt::Debug for super::AndroidApplication {
216 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
217 let mut debug_struct = f.debug_struct("AndroidApplication");
218 debug_struct.field("sha1_fingerprint", &self.sha1_fingerprint);
219 debug_struct.field("package_name", &self.package_name);
220 if !self._unknown_fields.is_empty() {
221 debug_struct.field("_unknown_fields", &self._unknown_fields);
222 }
223 debug_struct.finish()
224 }
225}
226
227impl std::fmt::Debug for super::IosKeyRestrictions {
228 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
229 let mut debug_struct = f.debug_struct("IosKeyRestrictions");
230 debug_struct.field("allowed_bundle_ids", &self.allowed_bundle_ids);
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::ApiTarget {
239 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
240 let mut debug_struct = f.debug_struct("ApiTarget");
241 debug_struct.field("service", &self.service);
242 debug_struct.field("methods", &self.methods);
243 if !self._unknown_fields.is_empty() {
244 debug_struct.field("_unknown_fields", &self._unknown_fields);
245 }
246 debug_struct.finish()
247 }
248}