google_cloud_blockchainnodeengine_v1/model/
debug.rs1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::BlockchainNode {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("BlockchainNode");
23 debug_struct.field("name", &self.name);
24 debug_struct.field("create_time", &self.create_time);
25 debug_struct.field("update_time", &self.update_time);
26 debug_struct.field("labels", &self.labels);
27 debug_struct.field("blockchain_type", &self.blockchain_type);
28 debug_struct.field("connection_info", &self.connection_info);
29 debug_struct.field("state", &self.state);
30 debug_struct.field(
31 "private_service_connect_enabled",
32 &self.private_service_connect_enabled,
33 );
34 debug_struct.field("blockchain_type_details", &self.blockchain_type_details);
35 if !self._unknown_fields.is_empty() {
36 debug_struct.field("_unknown_fields", &self._unknown_fields);
37 }
38 debug_struct.finish()
39 }
40}
41
42impl std::fmt::Debug for super::blockchain_node::ConnectionInfo {
43 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
44 let mut debug_struct = f.debug_struct("ConnectionInfo");
45 debug_struct.field("endpoint_info", &self.endpoint_info);
46 debug_struct.field("service_attachment", &self.service_attachment);
47 if !self._unknown_fields.is_empty() {
48 debug_struct.field("_unknown_fields", &self._unknown_fields);
49 }
50 debug_struct.finish()
51 }
52}
53
54impl std::fmt::Debug for super::blockchain_node::connection_info::EndpointInfo {
55 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
56 let mut debug_struct = f.debug_struct("EndpointInfo");
57 debug_struct.field("json_rpc_api_endpoint", &self.json_rpc_api_endpoint);
58 debug_struct.field("websockets_api_endpoint", &self.websockets_api_endpoint);
59 if !self._unknown_fields.is_empty() {
60 debug_struct.field("_unknown_fields", &self._unknown_fields);
61 }
62 debug_struct.finish()
63 }
64}
65
66impl std::fmt::Debug for super::blockchain_node::EthereumDetails {
67 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
68 let mut debug_struct = f.debug_struct("EthereumDetails");
69 debug_struct.field("network", &self.network);
70 debug_struct.field("node_type", &self.node_type);
71 debug_struct.field("execution_client", &self.execution_client);
72 debug_struct.field("consensus_client", &self.consensus_client);
73 debug_struct.field("api_enable_admin", &self.api_enable_admin);
74 debug_struct.field("api_enable_debug", &self.api_enable_debug);
75 debug_struct.field("additional_endpoints", &self.additional_endpoints);
76 debug_struct.field("validator_config", &self.validator_config);
77 debug_struct.field("execution_client_details", &self.execution_client_details);
78 if !self._unknown_fields.is_empty() {
79 debug_struct.field("_unknown_fields", &self._unknown_fields);
80 }
81 debug_struct.finish()
82 }
83}
84
85impl std::fmt::Debug for super::blockchain_node::ethereum_details::GethDetails {
86 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
87 let mut debug_struct = f.debug_struct("GethDetails");
88 debug_struct.field("garbage_collection_mode", &self.garbage_collection_mode);
89 if !self._unknown_fields.is_empty() {
90 debug_struct.field("_unknown_fields", &self._unknown_fields);
91 }
92 debug_struct.finish()
93 }
94}
95
96impl std::fmt::Debug for super::blockchain_node::ethereum_details::EthereumEndpoints {
97 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
98 let mut debug_struct = f.debug_struct("EthereumEndpoints");
99 debug_struct.field("beacon_api_endpoint", &self.beacon_api_endpoint);
100 debug_struct.field(
101 "beacon_prometheus_metrics_api_endpoint",
102 &self.beacon_prometheus_metrics_api_endpoint,
103 );
104 debug_struct.field(
105 "execution_client_prometheus_metrics_api_endpoint",
106 &self.execution_client_prometheus_metrics_api_endpoint,
107 );
108 if !self._unknown_fields.is_empty() {
109 debug_struct.field("_unknown_fields", &self._unknown_fields);
110 }
111 debug_struct.finish()
112 }
113}
114
115impl std::fmt::Debug for super::blockchain_node::ethereum_details::ValidatorConfig {
116 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
117 let mut debug_struct = f.debug_struct("ValidatorConfig");
118 debug_struct.field("mev_relay_urls", &self.mev_relay_urls);
119 debug_struct.field("managed_validator_client", &self.managed_validator_client);
120 debug_struct.field("beacon_fee_recipient", &self.beacon_fee_recipient);
121 if !self._unknown_fields.is_empty() {
122 debug_struct.field("_unknown_fields", &self._unknown_fields);
123 }
124 debug_struct.finish()
125 }
126}
127
128impl std::fmt::Debug for super::ListBlockchainNodesRequest {
129 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
130 let mut debug_struct = f.debug_struct("ListBlockchainNodesRequest");
131 debug_struct.field("parent", &self.parent);
132 debug_struct.field("page_size", &self.page_size);
133 debug_struct.field("page_token", &self.page_token);
134 debug_struct.field("filter", &self.filter);
135 debug_struct.field("order_by", &self.order_by);
136 if !self._unknown_fields.is_empty() {
137 debug_struct.field("_unknown_fields", &self._unknown_fields);
138 }
139 debug_struct.finish()
140 }
141}
142
143impl std::fmt::Debug for super::ListBlockchainNodesResponse {
144 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
145 let mut debug_struct = f.debug_struct("ListBlockchainNodesResponse");
146 debug_struct.field("blockchain_nodes", &self.blockchain_nodes);
147 debug_struct.field("next_page_token", &self.next_page_token);
148 debug_struct.field("unreachable", &self.unreachable);
149 if !self._unknown_fields.is_empty() {
150 debug_struct.field("_unknown_fields", &self._unknown_fields);
151 }
152 debug_struct.finish()
153 }
154}
155
156impl std::fmt::Debug for super::GetBlockchainNodeRequest {
157 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
158 let mut debug_struct = f.debug_struct("GetBlockchainNodeRequest");
159 debug_struct.field("name", &self.name);
160 if !self._unknown_fields.is_empty() {
161 debug_struct.field("_unknown_fields", &self._unknown_fields);
162 }
163 debug_struct.finish()
164 }
165}
166
167impl std::fmt::Debug for super::CreateBlockchainNodeRequest {
168 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
169 let mut debug_struct = f.debug_struct("CreateBlockchainNodeRequest");
170 debug_struct.field("parent", &self.parent);
171 debug_struct.field("blockchain_node_id", &self.blockchain_node_id);
172 debug_struct.field("blockchain_node", &self.blockchain_node);
173 debug_struct.field("request_id", &self.request_id);
174 if !self._unknown_fields.is_empty() {
175 debug_struct.field("_unknown_fields", &self._unknown_fields);
176 }
177 debug_struct.finish()
178 }
179}
180
181impl std::fmt::Debug for super::UpdateBlockchainNodeRequest {
182 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
183 let mut debug_struct = f.debug_struct("UpdateBlockchainNodeRequest");
184 debug_struct.field("update_mask", &self.update_mask);
185 debug_struct.field("blockchain_node", &self.blockchain_node);
186 debug_struct.field("request_id", &self.request_id);
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::DeleteBlockchainNodeRequest {
195 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
196 let mut debug_struct = f.debug_struct("DeleteBlockchainNodeRequest");
197 debug_struct.field("name", &self.name);
198 debug_struct.field("request_id", &self.request_id);
199 if !self._unknown_fields.is_empty() {
200 debug_struct.field("_unknown_fields", &self._unknown_fields);
201 }
202 debug_struct.finish()
203 }
204}
205
206impl std::fmt::Debug for super::OperationMetadata {
207 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
208 let mut debug_struct = f.debug_struct("OperationMetadata");
209 debug_struct.field("create_time", &self.create_time);
210 debug_struct.field("end_time", &self.end_time);
211 debug_struct.field("target", &self.target);
212 debug_struct.field("verb", &self.verb);
213 debug_struct.field("status_message", &self.status_message);
214 debug_struct.field("requested_cancellation", &self.requested_cancellation);
215 debug_struct.field("api_version", &self.api_version);
216 if !self._unknown_fields.is_empty() {
217 debug_struct.field("_unknown_fields", &self._unknown_fields);
218 }
219 debug_struct.finish()
220 }
221}