google_cloud_confidentialcomputing_v1/model/
debug.rs1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::Challenge {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("Challenge");
23 debug_struct.field("name", &self.name);
24 debug_struct.field("create_time", &self.create_time);
25 debug_struct.field("expire_time", &self.expire_time);
26 debug_struct.field("used", &self.used);
27 debug_struct.field("tpm_nonce", &self.tpm_nonce);
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::CreateChallengeRequest {
36 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
37 let mut debug_struct = f.debug_struct("CreateChallengeRequest");
38 debug_struct.field("parent", &self.parent);
39 debug_struct.field("challenge", &self.challenge);
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::VerifyAttestationRequest {
48 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
49 let mut debug_struct = f.debug_struct("VerifyAttestationRequest");
50 debug_struct.field("challenge", &self.challenge);
51 debug_struct.field("gcp_credentials", &self.gcp_credentials);
52 debug_struct.field("tpm_attestation", &self.tpm_attestation);
53 debug_struct.field("confidential_space_info", &self.confidential_space_info);
54 debug_struct.field("token_options", &self.token_options);
55 debug_struct.field("attester", &self.attester);
56 debug_struct.field("tee_attestation", &self.tee_attestation);
57 if !self._unknown_fields.is_empty() {
58 debug_struct.field("_unknown_fields", &self._unknown_fields);
59 }
60 debug_struct.finish()
61 }
62}
63
64impl std::fmt::Debug for super::TdxCcelAttestation {
65 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
66 let mut debug_struct = f.debug_struct("TdxCcelAttestation");
67 debug_struct.field("ccel_acpi_table", &self.ccel_acpi_table);
68 debug_struct.field("ccel_data", &self.ccel_data);
69 debug_struct.field("canonical_event_log", &self.canonical_event_log);
70 debug_struct.field("td_quote", &self.td_quote);
71 if !self._unknown_fields.is_empty() {
72 debug_struct.field("_unknown_fields", &self._unknown_fields);
73 }
74 debug_struct.finish()
75 }
76}
77
78impl std::fmt::Debug for super::SevSnpAttestation {
79 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
80 let mut debug_struct = f.debug_struct("SevSnpAttestation");
81 debug_struct.field("report", &self.report);
82 debug_struct.field("aux_blob", &self.aux_blob);
83 if !self._unknown_fields.is_empty() {
84 debug_struct.field("_unknown_fields", &self._unknown_fields);
85 }
86 debug_struct.finish()
87 }
88}
89
90impl std::fmt::Debug for super::VerifyAttestationResponse {
91 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
92 let mut debug_struct = f.debug_struct("VerifyAttestationResponse");
93 debug_struct.field("oidc_claims_token", &self.oidc_claims_token);
94 debug_struct.field("partial_errors", &self.partial_errors);
95 if !self._unknown_fields.is_empty() {
96 debug_struct.field("_unknown_fields", &self._unknown_fields);
97 }
98 debug_struct.finish()
99 }
100}
101
102impl std::fmt::Debug for super::GcpCredentials {
103 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
104 let mut debug_struct = f.debug_struct("GcpCredentials");
105 debug_struct.field("service_account_id_tokens", &self.service_account_id_tokens);
106 if !self._unknown_fields.is_empty() {
107 debug_struct.field("_unknown_fields", &self._unknown_fields);
108 }
109 debug_struct.finish()
110 }
111}
112
113impl std::fmt::Debug for super::TokenOptions {
114 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
115 let mut debug_struct = f.debug_struct("TokenOptions");
116 debug_struct.field("audience", &self.audience);
117 debug_struct.field("nonce", &self.nonce);
118 debug_struct.field("token_type", &self.token_type);
119 debug_struct.field("token_type_options", &self.token_type_options);
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::AwsPrincipalTagsOptions {
128 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
129 let mut debug_struct = f.debug_struct("AwsPrincipalTagsOptions");
130 debug_struct.field("allowed_principal_tags", &self.allowed_principal_tags);
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::aws_principal_tags_options::AllowedPrincipalTags {
139 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
140 let mut debug_struct = f.debug_struct("AllowedPrincipalTags");
141 debug_struct.field(
142 "container_image_signatures",
143 &self.container_image_signatures,
144 );
145 if !self._unknown_fields.is_empty() {
146 debug_struct.field("_unknown_fields", &self._unknown_fields);
147 }
148 debug_struct.finish()
149 }
150}
151
152impl std::fmt::Debug
153 for super::aws_principal_tags_options::allowed_principal_tags::ContainerImageSignatures
154{
155 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
156 let mut debug_struct = f.debug_struct("ContainerImageSignatures");
157 debug_struct.field("key_ids", &self.key_ids);
158 if !self._unknown_fields.is_empty() {
159 debug_struct.field("_unknown_fields", &self._unknown_fields);
160 }
161 debug_struct.finish()
162 }
163}
164
165impl std::fmt::Debug for super::TpmAttestation {
166 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
167 let mut debug_struct = f.debug_struct("TpmAttestation");
168 debug_struct.field("quotes", &self.quotes);
169 debug_struct.field("tcg_event_log", &self.tcg_event_log);
170 debug_struct.field("canonical_event_log", &self.canonical_event_log);
171 debug_struct.field("ak_cert", &self.ak_cert);
172 debug_struct.field("cert_chain", &self.cert_chain);
173 if !self._unknown_fields.is_empty() {
174 debug_struct.field("_unknown_fields", &self._unknown_fields);
175 }
176 debug_struct.finish()
177 }
178}
179
180impl std::fmt::Debug for super::tpm_attestation::Quote {
181 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
182 let mut debug_struct = f.debug_struct("Quote");
183 debug_struct.field("hash_algo", &self.hash_algo);
184 debug_struct.field("pcr_values", &self.pcr_values);
185 debug_struct.field("raw_quote", &self.raw_quote);
186 debug_struct.field("raw_signature", &self.raw_signature);
187 if !self._unknown_fields.is_empty() {
188 debug_struct.field("_unknown_fields", &self._unknown_fields);
189 }
190 debug_struct.finish()
191 }
192}
193
194impl std::fmt::Debug for super::ConfidentialSpaceInfo {
195 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
196 let mut debug_struct = f.debug_struct("ConfidentialSpaceInfo");
197 debug_struct.field("signed_entities", &self.signed_entities);
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::SignedEntity {
206 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
207 let mut debug_struct = f.debug_struct("SignedEntity");
208 debug_struct.field(
209 "container_image_signatures",
210 &self.container_image_signatures,
211 );
212 if !self._unknown_fields.is_empty() {
213 debug_struct.field("_unknown_fields", &self._unknown_fields);
214 }
215 debug_struct.finish()
216 }
217}
218
219impl std::fmt::Debug for super::ContainerImageSignature {
220 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
221 let mut debug_struct = f.debug_struct("ContainerImageSignature");
222 debug_struct.field("payload", &self.payload);
223 debug_struct.field("signature", &self.signature);
224 debug_struct.field("public_key", &self.public_key);
225 debug_struct.field("sig_alg", &self.sig_alg);
226 if !self._unknown_fields.is_empty() {
227 debug_struct.field("_unknown_fields", &self._unknown_fields);
228 }
229 debug_struct.finish()
230 }
231}
232
233impl std::fmt::Debug for super::VerifyConfidentialSpaceRequest {
234 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
235 let mut debug_struct = f.debug_struct("VerifyConfidentialSpaceRequest");
236 debug_struct.field("challenge", &self.challenge);
237 debug_struct.field("gcp_credentials", &self.gcp_credentials);
238 debug_struct.field("signed_entities", &self.signed_entities);
239 debug_struct.field("gce_shielded_identity", &self.gce_shielded_identity);
240 debug_struct.field("options", &self.options);
241 debug_struct.field("tee_attestation", &self.tee_attestation);
242 if !self._unknown_fields.is_empty() {
243 debug_struct.field("_unknown_fields", &self._unknown_fields);
244 }
245 debug_struct.finish()
246 }
247}
248
249impl std::fmt::Debug for super::verify_confidential_space_request::ConfidentialSpaceOptions {
250 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
251 let mut debug_struct = f.debug_struct("ConfidentialSpaceOptions");
252 debug_struct.field("audience", &self.audience);
253 debug_struct.field("token_profile", &self.token_profile);
254 debug_struct.field("nonce", &self.nonce);
255 debug_struct.field("signature_type", &self.signature_type);
256 debug_struct.field("token_profile_options", &self.token_profile_options);
257 if !self._unknown_fields.is_empty() {
258 debug_struct.field("_unknown_fields", &self._unknown_fields);
259 }
260 debug_struct.finish()
261 }
262}
263
264impl std::fmt::Debug for super::GceShieldedIdentity {
265 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
266 let mut debug_struct = f.debug_struct("GceShieldedIdentity");
267 debug_struct.field("ak_cert", &self.ak_cert);
268 debug_struct.field("ak_cert_chain", &self.ak_cert_chain);
269 if !self._unknown_fields.is_empty() {
270 debug_struct.field("_unknown_fields", &self._unknown_fields);
271 }
272 debug_struct.finish()
273 }
274}
275
276impl std::fmt::Debug for super::VerifyConfidentialSpaceResponse {
277 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
278 let mut debug_struct = f.debug_struct("VerifyConfidentialSpaceResponse");
279 debug_struct.field("attestation_token", &self.attestation_token);
280 debug_struct.field("partial_errors", &self.partial_errors);
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::VerifyConfidentialGkeRequest {
289 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
290 let mut debug_struct = f.debug_struct("VerifyConfidentialGkeRequest");
291 debug_struct.field("challenge", &self.challenge);
292 debug_struct.field("tee_attestation", &self.tee_attestation);
293 if !self._unknown_fields.is_empty() {
294 debug_struct.field("_unknown_fields", &self._unknown_fields);
295 }
296 debug_struct.finish()
297 }
298}
299
300impl std::fmt::Debug for super::VerifyConfidentialGkeResponse {
301 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
302 let mut debug_struct = f.debug_struct("VerifyConfidentialGkeResponse");
303 debug_struct.field("attestation_token", &self.attestation_token);
304 if !self._unknown_fields.is_empty() {
305 debug_struct.field("_unknown_fields", &self._unknown_fields);
306 }
307 debug_struct.finish()
308 }
309}