google_cloud_bigquery_datapolicies_v2/model/
debug.rs1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::CreateDataPolicyRequest {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("CreateDataPolicyRequest");
23 debug_struct.field("parent", &self.parent);
24 debug_struct.field("data_policy_id", &self.data_policy_id);
25 debug_struct.field("data_policy", &self.data_policy);
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::UpdateDataPolicyRequest {
34 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
35 let mut debug_struct = f.debug_struct("UpdateDataPolicyRequest");
36 debug_struct.field("data_policy", &self.data_policy);
37 debug_struct.field("update_mask", &self.update_mask);
38 debug_struct.field("allow_missing", &self.allow_missing);
39 if !self._unknown_fields.is_empty() {
40 debug_struct.field("_unknown_fields", &self._unknown_fields);
41 }
42 debug_struct.finish()
43 }
44}
45
46impl std::fmt::Debug for super::AddGranteesRequest {
47 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
48 let mut debug_struct = f.debug_struct("AddGranteesRequest");
49 debug_struct.field("data_policy", &self.data_policy);
50 debug_struct.field("grantees", &self.grantees);
51 if !self._unknown_fields.is_empty() {
52 debug_struct.field("_unknown_fields", &self._unknown_fields);
53 }
54 debug_struct.finish()
55 }
56}
57
58impl std::fmt::Debug for super::RemoveGranteesRequest {
59 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
60 let mut debug_struct = f.debug_struct("RemoveGranteesRequest");
61 debug_struct.field("data_policy", &self.data_policy);
62 debug_struct.field("grantees", &self.grantees);
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::DeleteDataPolicyRequest {
71 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
72 let mut debug_struct = f.debug_struct("DeleteDataPolicyRequest");
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::GetDataPolicyRequest {
82 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
83 let mut debug_struct = f.debug_struct("GetDataPolicyRequest");
84 debug_struct.field("name", &self.name);
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::ListDataPoliciesRequest {
93 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
94 let mut debug_struct = f.debug_struct("ListDataPoliciesRequest");
95 debug_struct.field("parent", &self.parent);
96 debug_struct.field("page_size", &self.page_size);
97 debug_struct.field("page_token", &self.page_token);
98 debug_struct.field("filter", &self.filter);
99 if !self._unknown_fields.is_empty() {
100 debug_struct.field("_unknown_fields", &self._unknown_fields);
101 }
102 debug_struct.finish()
103 }
104}
105
106impl std::fmt::Debug for super::ListDataPoliciesResponse {
107 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
108 let mut debug_struct = f.debug_struct("ListDataPoliciesResponse");
109 debug_struct.field("data_policies", &self.data_policies);
110 debug_struct.field("next_page_token", &self.next_page_token);
111 if !self._unknown_fields.is_empty() {
112 debug_struct.field("_unknown_fields", &self._unknown_fields);
113 }
114 debug_struct.finish()
115 }
116}
117
118impl std::fmt::Debug for super::DataPolicy {
119 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
120 let mut debug_struct = f.debug_struct("DataPolicy");
121 debug_struct.field("name", &self.name);
122 debug_struct.field("data_policy_id", &self.data_policy_id);
123 debug_struct.field("etag", &self.etag);
124 debug_struct.field("data_policy_type", &self.data_policy_type);
125 debug_struct.field("policy_tag", &self.policy_tag);
126 debug_struct.field("grantees", &self.grantees);
127 debug_struct.field("version", &self.version);
128 debug_struct.field("policy", &self.policy);
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::DataMaskingPolicy {
137 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
138 let mut debug_struct = f.debug_struct("DataMaskingPolicy");
139 debug_struct.field("masking_expression", &self.masking_expression);
140 if !self._unknown_fields.is_empty() {
141 debug_struct.field("_unknown_fields", &self._unknown_fields);
142 }
143 debug_struct.finish()
144 }
145}