google_cloud_lustre_v1/model/
debug.rs1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::Instance {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("Instance");
23 debug_struct.field("name", &self.name);
24 debug_struct.field("filesystem", &self.filesystem);
25 debug_struct.field("capacity_gib", &self.capacity_gib);
26 debug_struct.field("network", &self.network);
27 debug_struct.field("state", &self.state);
28 debug_struct.field("mount_point", &self.mount_point);
29 debug_struct.field("create_time", &self.create_time);
30 debug_struct.field("update_time", &self.update_time);
31 debug_struct.field("description", &self.description);
32 debug_struct.field("labels", &self.labels);
33 debug_struct.field(
34 "per_unit_storage_throughput",
35 &self.per_unit_storage_throughput,
36 );
37 debug_struct.field("gke_support_enabled", &self.gke_support_enabled);
38 if !self._unknown_fields.is_empty() {
39 debug_struct.field("_unknown_fields", &self._unknown_fields);
40 }
41 debug_struct.finish()
42 }
43}
44
45impl std::fmt::Debug for super::ListInstancesRequest {
46 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
47 let mut debug_struct = f.debug_struct("ListInstancesRequest");
48 debug_struct.field("parent", &self.parent);
49 debug_struct.field("page_size", &self.page_size);
50 debug_struct.field("page_token", &self.page_token);
51 debug_struct.field("filter", &self.filter);
52 debug_struct.field("order_by", &self.order_by);
53 if !self._unknown_fields.is_empty() {
54 debug_struct.field("_unknown_fields", &self._unknown_fields);
55 }
56 debug_struct.finish()
57 }
58}
59
60impl std::fmt::Debug for super::ListInstancesResponse {
61 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
62 let mut debug_struct = f.debug_struct("ListInstancesResponse");
63 debug_struct.field("instances", &self.instances);
64 debug_struct.field("next_page_token", &self.next_page_token);
65 debug_struct.field("unreachable", &self.unreachable);
66 if !self._unknown_fields.is_empty() {
67 debug_struct.field("_unknown_fields", &self._unknown_fields);
68 }
69 debug_struct.finish()
70 }
71}
72
73impl std::fmt::Debug for super::GetInstanceRequest {
74 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
75 let mut debug_struct = f.debug_struct("GetInstanceRequest");
76 debug_struct.field("name", &self.name);
77 if !self._unknown_fields.is_empty() {
78 debug_struct.field("_unknown_fields", &self._unknown_fields);
79 }
80 debug_struct.finish()
81 }
82}
83
84impl std::fmt::Debug for super::CreateInstanceRequest {
85 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
86 let mut debug_struct = f.debug_struct("CreateInstanceRequest");
87 debug_struct.field("parent", &self.parent);
88 debug_struct.field("instance_id", &self.instance_id);
89 debug_struct.field("instance", &self.instance);
90 debug_struct.field("request_id", &self.request_id);
91 if !self._unknown_fields.is_empty() {
92 debug_struct.field("_unknown_fields", &self._unknown_fields);
93 }
94 debug_struct.finish()
95 }
96}
97
98impl std::fmt::Debug for super::UpdateInstanceRequest {
99 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
100 let mut debug_struct = f.debug_struct("UpdateInstanceRequest");
101 debug_struct.field("update_mask", &self.update_mask);
102 debug_struct.field("instance", &self.instance);
103 debug_struct.field("request_id", &self.request_id);
104 if !self._unknown_fields.is_empty() {
105 debug_struct.field("_unknown_fields", &self._unknown_fields);
106 }
107 debug_struct.finish()
108 }
109}
110
111impl std::fmt::Debug for super::DeleteInstanceRequest {
112 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
113 let mut debug_struct = f.debug_struct("DeleteInstanceRequest");
114 debug_struct.field("name", &self.name);
115 debug_struct.field("request_id", &self.request_id);
116 if !self._unknown_fields.is_empty() {
117 debug_struct.field("_unknown_fields", &self._unknown_fields);
118 }
119 debug_struct.finish()
120 }
121}
122
123impl std::fmt::Debug for super::OperationMetadata {
124 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
125 let mut debug_struct = f.debug_struct("OperationMetadata");
126 debug_struct.field("create_time", &self.create_time);
127 debug_struct.field("end_time", &self.end_time);
128 debug_struct.field("target", &self.target);
129 debug_struct.field("verb", &self.verb);
130 debug_struct.field("status_message", &self.status_message);
131 debug_struct.field("requested_cancellation", &self.requested_cancellation);
132 debug_struct.field("api_version", &self.api_version);
133 if !self._unknown_fields.is_empty() {
134 debug_struct.field("_unknown_fields", &self._unknown_fields);
135 }
136 debug_struct.finish()
137 }
138}
139
140impl std::fmt::Debug for super::ImportDataRequest {
141 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
142 let mut debug_struct = f.debug_struct("ImportDataRequest");
143 debug_struct.field("name", &self.name);
144 debug_struct.field("request_id", &self.request_id);
145 debug_struct.field("service_account", &self.service_account);
146 debug_struct.field("source", &self.source);
147 debug_struct.field("destination", &self.destination);
148 if !self._unknown_fields.is_empty() {
149 debug_struct.field("_unknown_fields", &self._unknown_fields);
150 }
151 debug_struct.finish()
152 }
153}
154
155impl std::fmt::Debug for super::ExportDataRequest {
156 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
157 let mut debug_struct = f.debug_struct("ExportDataRequest");
158 debug_struct.field("name", &self.name);
159 debug_struct.field("request_id", &self.request_id);
160 debug_struct.field("service_account", &self.service_account);
161 debug_struct.field("source", &self.source);
162 debug_struct.field("destination", &self.destination);
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::ExportDataResponse {
171 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
172 let mut debug_struct = f.debug_struct("ExportDataResponse");
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::ImportDataResponse {
181 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
182 let mut debug_struct = f.debug_struct("ImportDataResponse");
183 if !self._unknown_fields.is_empty() {
184 debug_struct.field("_unknown_fields", &self._unknown_fields);
185 }
186 debug_struct.finish()
187 }
188}
189
190impl std::fmt::Debug for super::ExportDataMetadata {
191 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
192 let mut debug_struct = f.debug_struct("ExportDataMetadata");
193 debug_struct.field("operation_metadata", &self.operation_metadata);
194 debug_struct.field("create_time", &self.create_time);
195 debug_struct.field("end_time", &self.end_time);
196 debug_struct.field("target", &self.target);
197 debug_struct.field("verb", &self.verb);
198 debug_struct.field("status_message", &self.status_message);
199 debug_struct.field("requested_cancellation", &self.requested_cancellation);
200 debug_struct.field("api_version", &self.api_version);
201 if !self._unknown_fields.is_empty() {
202 debug_struct.field("_unknown_fields", &self._unknown_fields);
203 }
204 debug_struct.finish()
205 }
206}
207
208impl std::fmt::Debug for super::ImportDataMetadata {
209 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
210 let mut debug_struct = f.debug_struct("ImportDataMetadata");
211 debug_struct.field("operation_metadata", &self.operation_metadata);
212 debug_struct.field("create_time", &self.create_time);
213 debug_struct.field("end_time", &self.end_time);
214 debug_struct.field("target", &self.target);
215 debug_struct.field("status_message", &self.status_message);
216 debug_struct.field("requested_cancellation", &self.requested_cancellation);
217 debug_struct.field("api_version", &self.api_version);
218 if !self._unknown_fields.is_empty() {
219 debug_struct.field("_unknown_fields", &self._unknown_fields);
220 }
221 debug_struct.finish()
222 }
223}
224
225impl std::fmt::Debug for super::GcsPath {
226 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
227 let mut debug_struct = f.debug_struct("GcsPath");
228 debug_struct.field("uri", &self.uri);
229 if !self._unknown_fields.is_empty() {
230 debug_struct.field("_unknown_fields", &self._unknown_fields);
231 }
232 debug_struct.finish()
233 }
234}
235
236impl std::fmt::Debug for super::LustrePath {
237 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
238 let mut debug_struct = f.debug_struct("LustrePath");
239 debug_struct.field("path", &self.path);
240 if !self._unknown_fields.is_empty() {
241 debug_struct.field("_unknown_fields", &self._unknown_fields);
242 }
243 debug_struct.finish()
244 }
245}
246
247impl std::fmt::Debug for super::TransferCounters {
248 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
249 let mut debug_struct = f.debug_struct("TransferCounters");
250 debug_struct.field("found_objects_count", &self.found_objects_count);
251 debug_struct.field("bytes_found_count", &self.bytes_found_count);
252 debug_struct.field("objects_skipped_count", &self.objects_skipped_count);
253 debug_struct.field("bytes_skipped_count", &self.bytes_skipped_count);
254 debug_struct.field("objects_copied_count", &self.objects_copied_count);
255 debug_struct.field("bytes_copied_count", &self.bytes_copied_count);
256 debug_struct.field("objects_failed_count", &self.objects_failed_count);
257 debug_struct.field("bytes_failed_count", &self.bytes_failed_count);
258 if !self._unknown_fields.is_empty() {
259 debug_struct.field("_unknown_fields", &self._unknown_fields);
260 }
261 debug_struct.finish()
262 }
263}
264
265impl std::fmt::Debug for super::ErrorLogEntry {
266 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
267 let mut debug_struct = f.debug_struct("ErrorLogEntry");
268 debug_struct.field("uri", &self.uri);
269 debug_struct.field("error_details", &self.error_details);
270 if !self._unknown_fields.is_empty() {
271 debug_struct.field("_unknown_fields", &self._unknown_fields);
272 }
273 debug_struct.finish()
274 }
275}
276
277impl std::fmt::Debug for super::ErrorSummary {
278 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
279 let mut debug_struct = f.debug_struct("ErrorSummary");
280 debug_struct.field("error_code", &self.error_code);
281 debug_struct.field("error_count", &self.error_count);
282 debug_struct.field("error_log_entries", &self.error_log_entries);
283 if !self._unknown_fields.is_empty() {
284 debug_struct.field("_unknown_fields", &self._unknown_fields);
285 }
286 debug_struct.finish()
287 }
288}
289
290impl std::fmt::Debug for super::TransferOperationMetadata {
291 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
292 let mut debug_struct = f.debug_struct("TransferOperationMetadata");
293 debug_struct.field("counters", &self.counters);
294 debug_struct.field("transfer_type", &self.transfer_type);
295 debug_struct.field("error_summaries", &self.error_summaries);
296 debug_struct.field("source", &self.source);
297 debug_struct.field("destination", &self.destination);
298 if !self._unknown_fields.is_empty() {
299 debug_struct.field("_unknown_fields", &self._unknown_fields);
300 }
301 debug_struct.finish()
302 }
303}