google_cloud_policytroubleshooter_v1/model/
debug.rs1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::TroubleshootIamPolicyRequest {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("TroubleshootIamPolicyRequest");
23 debug_struct.field("access_tuple", &self.access_tuple);
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::TroubleshootIamPolicyResponse {
32 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
33 let mut debug_struct = f.debug_struct("TroubleshootIamPolicyResponse");
34 debug_struct.field("access", &self.access);
35 debug_struct.field("explained_policies", &self.explained_policies);
36 debug_struct.field("errors", &self.errors);
37 if !self._unknown_fields.is_empty() {
38 debug_struct.field("_unknown_fields", &self._unknown_fields);
39 }
40 debug_struct.finish()
41 }
42}
43
44impl std::fmt::Debug for super::AccessTuple {
45 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
46 let mut debug_struct = f.debug_struct("AccessTuple");
47 debug_struct.field("principal", &self.principal);
48 debug_struct.field("full_resource_name", &self.full_resource_name);
49 debug_struct.field("permission", &self.permission);
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::ExplainedPolicy {
58 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
59 let mut debug_struct = f.debug_struct("ExplainedPolicy");
60 debug_struct.field("access", &self.access);
61 debug_struct.field("full_resource_name", &self.full_resource_name);
62 debug_struct.field("policy", &self.policy);
63 debug_struct.field("binding_explanations", &self.binding_explanations);
64 debug_struct.field("relevance", &self.relevance);
65 if !self._unknown_fields.is_empty() {
66 debug_struct.field("_unknown_fields", &self._unknown_fields);
67 }
68 debug_struct.finish()
69 }
70}
71
72impl std::fmt::Debug for super::BindingExplanation {
73 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
74 let mut debug_struct = f.debug_struct("BindingExplanation");
75 debug_struct.field("access", &self.access);
76 debug_struct.field("role", &self.role);
77 debug_struct.field("role_permission", &self.role_permission);
78 debug_struct.field("role_permission_relevance", &self.role_permission_relevance);
79 debug_struct.field("memberships", &self.memberships);
80 debug_struct.field("relevance", &self.relevance);
81 debug_struct.field("condition", &self.condition);
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::binding_explanation::AnnotatedMembership {
90 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
91 let mut debug_struct = f.debug_struct("AnnotatedMembership");
92 debug_struct.field("membership", &self.membership);
93 debug_struct.field("relevance", &self.relevance);
94 if !self._unknown_fields.is_empty() {
95 debug_struct.field("_unknown_fields", &self._unknown_fields);
96 }
97 debug_struct.finish()
98 }
99}