1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::Vertex {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("Vertex");
23 debug_struct.field("x", &self.x);
24 debug_struct.field("y", &self.y);
25 if !self._unknown_fields.is_empty() {
26 debug_struct.field("_unknown_fields", &self._unknown_fields);
27 }
28 debug_struct.finish()
29 }
30}
31
32impl std::fmt::Debug for super::NormalizedVertex {
33 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
34 let mut debug_struct = f.debug_struct("NormalizedVertex");
35 debug_struct.field("x", &self.x);
36 debug_struct.field("y", &self.y);
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::BoundingPoly {
45 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
46 let mut debug_struct = f.debug_struct("BoundingPoly");
47 debug_struct.field("vertices", &self.vertices);
48 debug_struct.field("normalized_vertices", &self.normalized_vertices);
49 if !self._unknown_fields.is_empty() {
50 debug_struct.field("_unknown_fields", &self._unknown_fields);
51 }
52 debug_struct.finish()
53 }
54}
55
56impl std::fmt::Debug for super::Position {
57 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
58 let mut debug_struct = f.debug_struct("Position");
59 debug_struct.field("x", &self.x);
60 debug_struct.field("y", &self.y);
61 debug_struct.field("z", &self.z);
62 if !self._unknown_fields.is_empty() {
63 debug_struct.field("_unknown_fields", &self._unknown_fields);
64 }
65 debug_struct.finish()
66 }
67}
68
69impl std::fmt::Debug for super::Feature {
70 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
71 let mut debug_struct = f.debug_struct("Feature");
72 debug_struct.field("r#type", &self.r#type);
73 debug_struct.field("max_results", &self.max_results);
74 debug_struct.field("model", &self.model);
75 if !self._unknown_fields.is_empty() {
76 debug_struct.field("_unknown_fields", &self._unknown_fields);
77 }
78 debug_struct.finish()
79 }
80}
81
82impl std::fmt::Debug for super::ImageSource {
83 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
84 let mut debug_struct = f.debug_struct("ImageSource");
85 debug_struct.field("gcs_image_uri", &self.gcs_image_uri);
86 debug_struct.field("image_uri", &self.image_uri);
87 if !self._unknown_fields.is_empty() {
88 debug_struct.field("_unknown_fields", &self._unknown_fields);
89 }
90 debug_struct.finish()
91 }
92}
93
94impl std::fmt::Debug for super::Image {
95 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
96 let mut debug_struct = f.debug_struct("Image");
97 debug_struct.field("content", &self.content);
98 debug_struct.field("source", &self.source);
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::FaceAnnotation {
107 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
108 let mut debug_struct = f.debug_struct("FaceAnnotation");
109 debug_struct.field("bounding_poly", &self.bounding_poly);
110 debug_struct.field("fd_bounding_poly", &self.fd_bounding_poly);
111 debug_struct.field("landmarks", &self.landmarks);
112 debug_struct.field("roll_angle", &self.roll_angle);
113 debug_struct.field("pan_angle", &self.pan_angle);
114 debug_struct.field("tilt_angle", &self.tilt_angle);
115 debug_struct.field("detection_confidence", &self.detection_confidence);
116 debug_struct.field("landmarking_confidence", &self.landmarking_confidence);
117 debug_struct.field("joy_likelihood", &self.joy_likelihood);
118 debug_struct.field("sorrow_likelihood", &self.sorrow_likelihood);
119 debug_struct.field("anger_likelihood", &self.anger_likelihood);
120 debug_struct.field("surprise_likelihood", &self.surprise_likelihood);
121 debug_struct.field("under_exposed_likelihood", &self.under_exposed_likelihood);
122 debug_struct.field("blurred_likelihood", &self.blurred_likelihood);
123 debug_struct.field("headwear_likelihood", &self.headwear_likelihood);
124 if !self._unknown_fields.is_empty() {
125 debug_struct.field("_unknown_fields", &self._unknown_fields);
126 }
127 debug_struct.finish()
128 }
129}
130
131impl std::fmt::Debug for super::face_annotation::Landmark {
132 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
133 let mut debug_struct = f.debug_struct("Landmark");
134 debug_struct.field("r#type", &self.r#type);
135 debug_struct.field("position", &self.position);
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::LocationInfo {
144 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
145 let mut debug_struct = f.debug_struct("LocationInfo");
146 debug_struct.field("lat_lng", &self.lat_lng);
147 if !self._unknown_fields.is_empty() {
148 debug_struct.field("_unknown_fields", &self._unknown_fields);
149 }
150 debug_struct.finish()
151 }
152}
153
154impl std::fmt::Debug for super::Property {
155 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
156 let mut debug_struct = f.debug_struct("Property");
157 debug_struct.field("name", &self.name);
158 debug_struct.field("value", &self.value);
159 debug_struct.field("uint64_value", &self.uint64_value);
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::EntityAnnotation {
168 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
169 let mut debug_struct = f.debug_struct("EntityAnnotation");
170 debug_struct.field("mid", &self.mid);
171 debug_struct.field("locale", &self.locale);
172 debug_struct.field("description", &self.description);
173 debug_struct.field("score", &self.score);
174 debug_struct.field("confidence", &self.confidence);
175 debug_struct.field("topicality", &self.topicality);
176 debug_struct.field("bounding_poly", &self.bounding_poly);
177 debug_struct.field("locations", &self.locations);
178 debug_struct.field("properties", &self.properties);
179 if !self._unknown_fields.is_empty() {
180 debug_struct.field("_unknown_fields", &self._unknown_fields);
181 }
182 debug_struct.finish()
183 }
184}
185
186impl std::fmt::Debug for super::LocalizedObjectAnnotation {
187 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
188 let mut debug_struct = f.debug_struct("LocalizedObjectAnnotation");
189 debug_struct.field("mid", &self.mid);
190 debug_struct.field("language_code", &self.language_code);
191 debug_struct.field("name", &self.name);
192 debug_struct.field("score", &self.score);
193 debug_struct.field("bounding_poly", &self.bounding_poly);
194 if !self._unknown_fields.is_empty() {
195 debug_struct.field("_unknown_fields", &self._unknown_fields);
196 }
197 debug_struct.finish()
198 }
199}
200
201impl std::fmt::Debug for super::SafeSearchAnnotation {
202 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
203 let mut debug_struct = f.debug_struct("SafeSearchAnnotation");
204 debug_struct.field("adult", &self.adult);
205 debug_struct.field("spoof", &self.spoof);
206 debug_struct.field("medical", &self.medical);
207 debug_struct.field("violence", &self.violence);
208 debug_struct.field("racy", &self.racy);
209 if !self._unknown_fields.is_empty() {
210 debug_struct.field("_unknown_fields", &self._unknown_fields);
211 }
212 debug_struct.finish()
213 }
214}
215
216impl std::fmt::Debug for super::LatLongRect {
217 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
218 let mut debug_struct = f.debug_struct("LatLongRect");
219 debug_struct.field("min_lat_lng", &self.min_lat_lng);
220 debug_struct.field("max_lat_lng", &self.max_lat_lng);
221 if !self._unknown_fields.is_empty() {
222 debug_struct.field("_unknown_fields", &self._unknown_fields);
223 }
224 debug_struct.finish()
225 }
226}
227
228impl std::fmt::Debug for super::ColorInfo {
229 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
230 let mut debug_struct = f.debug_struct("ColorInfo");
231 debug_struct.field("color", &self.color);
232 debug_struct.field("score", &self.score);
233 debug_struct.field("pixel_fraction", &self.pixel_fraction);
234 if !self._unknown_fields.is_empty() {
235 debug_struct.field("_unknown_fields", &self._unknown_fields);
236 }
237 debug_struct.finish()
238 }
239}
240
241impl std::fmt::Debug for super::DominantColorsAnnotation {
242 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
243 let mut debug_struct = f.debug_struct("DominantColorsAnnotation");
244 debug_struct.field("colors", &self.colors);
245 if !self._unknown_fields.is_empty() {
246 debug_struct.field("_unknown_fields", &self._unknown_fields);
247 }
248 debug_struct.finish()
249 }
250}
251
252impl std::fmt::Debug for super::ImageProperties {
253 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
254 let mut debug_struct = f.debug_struct("ImageProperties");
255 debug_struct.field("dominant_colors", &self.dominant_colors);
256 if !self._unknown_fields.is_empty() {
257 debug_struct.field("_unknown_fields", &self._unknown_fields);
258 }
259 debug_struct.finish()
260 }
261}
262
263impl std::fmt::Debug for super::CropHint {
264 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
265 let mut debug_struct = f.debug_struct("CropHint");
266 debug_struct.field("bounding_poly", &self.bounding_poly);
267 debug_struct.field("confidence", &self.confidence);
268 debug_struct.field("importance_fraction", &self.importance_fraction);
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::CropHintsAnnotation {
277 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
278 let mut debug_struct = f.debug_struct("CropHintsAnnotation");
279 debug_struct.field("crop_hints", &self.crop_hints);
280 if !self._unknown_fields.is_empty() {
281 debug_struct.field("_unknown_fields", &self._unknown_fields);
282 }
283 debug_struct.finish()
284 }
285}
286
287impl std::fmt::Debug for super::CropHintsParams {
288 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
289 let mut debug_struct = f.debug_struct("CropHintsParams");
290 debug_struct.field("aspect_ratios", &self.aspect_ratios);
291 if !self._unknown_fields.is_empty() {
292 debug_struct.field("_unknown_fields", &self._unknown_fields);
293 }
294 debug_struct.finish()
295 }
296}
297
298impl std::fmt::Debug for super::WebDetectionParams {
299 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
300 let mut debug_struct = f.debug_struct("WebDetectionParams");
301 debug_struct.field("include_geo_results", &self.include_geo_results);
302 if !self._unknown_fields.is_empty() {
303 debug_struct.field("_unknown_fields", &self._unknown_fields);
304 }
305 debug_struct.finish()
306 }
307}
308
309impl std::fmt::Debug for super::TextDetectionParams {
310 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
311 let mut debug_struct = f.debug_struct("TextDetectionParams");
312 debug_struct.field(
313 "enable_text_detection_confidence_score",
314 &self.enable_text_detection_confidence_score,
315 );
316 debug_struct.field("advanced_ocr_options", &self.advanced_ocr_options);
317 if !self._unknown_fields.is_empty() {
318 debug_struct.field("_unknown_fields", &self._unknown_fields);
319 }
320 debug_struct.finish()
321 }
322}
323
324impl std::fmt::Debug for super::ImageContext {
325 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
326 let mut debug_struct = f.debug_struct("ImageContext");
327 debug_struct.field("lat_long_rect", &self.lat_long_rect);
328 debug_struct.field("language_hints", &self.language_hints);
329 debug_struct.field("crop_hints_params", &self.crop_hints_params);
330 debug_struct.field("product_search_params", &self.product_search_params);
331 debug_struct.field("web_detection_params", &self.web_detection_params);
332 debug_struct.field("text_detection_params", &self.text_detection_params);
333 if !self._unknown_fields.is_empty() {
334 debug_struct.field("_unknown_fields", &self._unknown_fields);
335 }
336 debug_struct.finish()
337 }
338}
339
340impl std::fmt::Debug for super::AnnotateImageRequest {
341 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
342 let mut debug_struct = f.debug_struct("AnnotateImageRequest");
343 debug_struct.field("image", &self.image);
344 debug_struct.field("features", &self.features);
345 debug_struct.field("image_context", &self.image_context);
346 if !self._unknown_fields.is_empty() {
347 debug_struct.field("_unknown_fields", &self._unknown_fields);
348 }
349 debug_struct.finish()
350 }
351}
352
353impl std::fmt::Debug for super::ImageAnnotationContext {
354 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
355 let mut debug_struct = f.debug_struct("ImageAnnotationContext");
356 debug_struct.field("uri", &self.uri);
357 debug_struct.field("page_number", &self.page_number);
358 if !self._unknown_fields.is_empty() {
359 debug_struct.field("_unknown_fields", &self._unknown_fields);
360 }
361 debug_struct.finish()
362 }
363}
364
365impl std::fmt::Debug for super::AnnotateImageResponse {
366 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
367 let mut debug_struct = f.debug_struct("AnnotateImageResponse");
368 debug_struct.field("face_annotations", &self.face_annotations);
369 debug_struct.field("landmark_annotations", &self.landmark_annotations);
370 debug_struct.field("logo_annotations", &self.logo_annotations);
371 debug_struct.field("label_annotations", &self.label_annotations);
372 debug_struct.field(
373 "localized_object_annotations",
374 &self.localized_object_annotations,
375 );
376 debug_struct.field("text_annotations", &self.text_annotations);
377 debug_struct.field("full_text_annotation", &self.full_text_annotation);
378 debug_struct.field("safe_search_annotation", &self.safe_search_annotation);
379 debug_struct.field(
380 "image_properties_annotation",
381 &self.image_properties_annotation,
382 );
383 debug_struct.field("crop_hints_annotation", &self.crop_hints_annotation);
384 debug_struct.field("web_detection", &self.web_detection);
385 debug_struct.field("product_search_results", &self.product_search_results);
386 debug_struct.field("error", &self.error);
387 debug_struct.field("context", &self.context);
388 if !self._unknown_fields.is_empty() {
389 debug_struct.field("_unknown_fields", &self._unknown_fields);
390 }
391 debug_struct.finish()
392 }
393}
394
395impl std::fmt::Debug for super::BatchAnnotateImagesRequest {
396 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
397 let mut debug_struct = f.debug_struct("BatchAnnotateImagesRequest");
398 debug_struct.field("requests", &self.requests);
399 debug_struct.field("parent", &self.parent);
400 debug_struct.field("labels", &self.labels);
401 if !self._unknown_fields.is_empty() {
402 debug_struct.field("_unknown_fields", &self._unknown_fields);
403 }
404 debug_struct.finish()
405 }
406}
407
408impl std::fmt::Debug for super::BatchAnnotateImagesResponse {
409 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
410 let mut debug_struct = f.debug_struct("BatchAnnotateImagesResponse");
411 debug_struct.field("responses", &self.responses);
412 if !self._unknown_fields.is_empty() {
413 debug_struct.field("_unknown_fields", &self._unknown_fields);
414 }
415 debug_struct.finish()
416 }
417}
418
419impl std::fmt::Debug for super::AnnotateFileRequest {
420 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
421 let mut debug_struct = f.debug_struct("AnnotateFileRequest");
422 debug_struct.field("input_config", &self.input_config);
423 debug_struct.field("features", &self.features);
424 debug_struct.field("image_context", &self.image_context);
425 debug_struct.field("pages", &self.pages);
426 if !self._unknown_fields.is_empty() {
427 debug_struct.field("_unknown_fields", &self._unknown_fields);
428 }
429 debug_struct.finish()
430 }
431}
432
433impl std::fmt::Debug for super::AnnotateFileResponse {
434 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
435 let mut debug_struct = f.debug_struct("AnnotateFileResponse");
436 debug_struct.field("input_config", &self.input_config);
437 debug_struct.field("responses", &self.responses);
438 debug_struct.field("total_pages", &self.total_pages);
439 debug_struct.field("error", &self.error);
440 if !self._unknown_fields.is_empty() {
441 debug_struct.field("_unknown_fields", &self._unknown_fields);
442 }
443 debug_struct.finish()
444 }
445}
446
447impl std::fmt::Debug for super::BatchAnnotateFilesRequest {
448 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
449 let mut debug_struct = f.debug_struct("BatchAnnotateFilesRequest");
450 debug_struct.field("requests", &self.requests);
451 debug_struct.field("parent", &self.parent);
452 debug_struct.field("labels", &self.labels);
453 if !self._unknown_fields.is_empty() {
454 debug_struct.field("_unknown_fields", &self._unknown_fields);
455 }
456 debug_struct.finish()
457 }
458}
459
460impl std::fmt::Debug for super::BatchAnnotateFilesResponse {
461 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
462 let mut debug_struct = f.debug_struct("BatchAnnotateFilesResponse");
463 debug_struct.field("responses", &self.responses);
464 if !self._unknown_fields.is_empty() {
465 debug_struct.field("_unknown_fields", &self._unknown_fields);
466 }
467 debug_struct.finish()
468 }
469}
470
471impl std::fmt::Debug for super::AsyncAnnotateFileRequest {
472 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
473 let mut debug_struct = f.debug_struct("AsyncAnnotateFileRequest");
474 debug_struct.field("input_config", &self.input_config);
475 debug_struct.field("features", &self.features);
476 debug_struct.field("image_context", &self.image_context);
477 debug_struct.field("output_config", &self.output_config);
478 if !self._unknown_fields.is_empty() {
479 debug_struct.field("_unknown_fields", &self._unknown_fields);
480 }
481 debug_struct.finish()
482 }
483}
484
485impl std::fmt::Debug for super::AsyncAnnotateFileResponse {
486 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
487 let mut debug_struct = f.debug_struct("AsyncAnnotateFileResponse");
488 debug_struct.field("output_config", &self.output_config);
489 if !self._unknown_fields.is_empty() {
490 debug_struct.field("_unknown_fields", &self._unknown_fields);
491 }
492 debug_struct.finish()
493 }
494}
495
496impl std::fmt::Debug for super::AsyncBatchAnnotateImagesRequest {
497 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
498 let mut debug_struct = f.debug_struct("AsyncBatchAnnotateImagesRequest");
499 debug_struct.field("requests", &self.requests);
500 debug_struct.field("output_config", &self.output_config);
501 debug_struct.field("parent", &self.parent);
502 debug_struct.field("labels", &self.labels);
503 if !self._unknown_fields.is_empty() {
504 debug_struct.field("_unknown_fields", &self._unknown_fields);
505 }
506 debug_struct.finish()
507 }
508}
509
510impl std::fmt::Debug for super::AsyncBatchAnnotateImagesResponse {
511 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
512 let mut debug_struct = f.debug_struct("AsyncBatchAnnotateImagesResponse");
513 debug_struct.field("output_config", &self.output_config);
514 if !self._unknown_fields.is_empty() {
515 debug_struct.field("_unknown_fields", &self._unknown_fields);
516 }
517 debug_struct.finish()
518 }
519}
520
521impl std::fmt::Debug for super::AsyncBatchAnnotateFilesRequest {
522 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
523 let mut debug_struct = f.debug_struct("AsyncBatchAnnotateFilesRequest");
524 debug_struct.field("requests", &self.requests);
525 debug_struct.field("parent", &self.parent);
526 debug_struct.field("labels", &self.labels);
527 if !self._unknown_fields.is_empty() {
528 debug_struct.field("_unknown_fields", &self._unknown_fields);
529 }
530 debug_struct.finish()
531 }
532}
533
534impl std::fmt::Debug for super::AsyncBatchAnnotateFilesResponse {
535 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
536 let mut debug_struct = f.debug_struct("AsyncBatchAnnotateFilesResponse");
537 debug_struct.field("responses", &self.responses);
538 if !self._unknown_fields.is_empty() {
539 debug_struct.field("_unknown_fields", &self._unknown_fields);
540 }
541 debug_struct.finish()
542 }
543}
544
545impl std::fmt::Debug for super::InputConfig {
546 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
547 let mut debug_struct = f.debug_struct("InputConfig");
548 debug_struct.field("gcs_source", &self.gcs_source);
549 debug_struct.field("content", &self.content);
550 debug_struct.field("mime_type", &self.mime_type);
551 if !self._unknown_fields.is_empty() {
552 debug_struct.field("_unknown_fields", &self._unknown_fields);
553 }
554 debug_struct.finish()
555 }
556}
557
558impl std::fmt::Debug for super::OutputConfig {
559 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
560 let mut debug_struct = f.debug_struct("OutputConfig");
561 debug_struct.field("gcs_destination", &self.gcs_destination);
562 debug_struct.field("batch_size", &self.batch_size);
563 if !self._unknown_fields.is_empty() {
564 debug_struct.field("_unknown_fields", &self._unknown_fields);
565 }
566 debug_struct.finish()
567 }
568}
569
570impl std::fmt::Debug for super::GcsSource {
571 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
572 let mut debug_struct = f.debug_struct("GcsSource");
573 debug_struct.field("uri", &self.uri);
574 if !self._unknown_fields.is_empty() {
575 debug_struct.field("_unknown_fields", &self._unknown_fields);
576 }
577 debug_struct.finish()
578 }
579}
580
581impl std::fmt::Debug for super::GcsDestination {
582 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
583 let mut debug_struct = f.debug_struct("GcsDestination");
584 debug_struct.field("uri", &self.uri);
585 if !self._unknown_fields.is_empty() {
586 debug_struct.field("_unknown_fields", &self._unknown_fields);
587 }
588 debug_struct.finish()
589 }
590}
591
592impl std::fmt::Debug for super::OperationMetadata {
593 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
594 let mut debug_struct = f.debug_struct("OperationMetadata");
595 debug_struct.field("state", &self.state);
596 debug_struct.field("create_time", &self.create_time);
597 debug_struct.field("update_time", &self.update_time);
598 if !self._unknown_fields.is_empty() {
599 debug_struct.field("_unknown_fields", &self._unknown_fields);
600 }
601 debug_struct.finish()
602 }
603}
604
605impl std::fmt::Debug for super::ProductSearchParams {
606 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
607 let mut debug_struct = f.debug_struct("ProductSearchParams");
608 debug_struct.field("bounding_poly", &self.bounding_poly);
609 debug_struct.field("product_set", &self.product_set);
610 debug_struct.field("product_categories", &self.product_categories);
611 debug_struct.field("filter", &self.filter);
612 if !self._unknown_fields.is_empty() {
613 debug_struct.field("_unknown_fields", &self._unknown_fields);
614 }
615 debug_struct.finish()
616 }
617}
618
619impl std::fmt::Debug for super::ProductSearchResults {
620 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
621 let mut debug_struct = f.debug_struct("ProductSearchResults");
622 debug_struct.field("index_time", &self.index_time);
623 debug_struct.field("results", &self.results);
624 debug_struct.field("product_grouped_results", &self.product_grouped_results);
625 if !self._unknown_fields.is_empty() {
626 debug_struct.field("_unknown_fields", &self._unknown_fields);
627 }
628 debug_struct.finish()
629 }
630}
631
632impl std::fmt::Debug for super::product_search_results::Result {
633 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
634 let mut debug_struct = f.debug_struct("Result");
635 debug_struct.field("product", &self.product);
636 debug_struct.field("score", &self.score);
637 debug_struct.field("image", &self.image);
638 if !self._unknown_fields.is_empty() {
639 debug_struct.field("_unknown_fields", &self._unknown_fields);
640 }
641 debug_struct.finish()
642 }
643}
644
645impl std::fmt::Debug for super::product_search_results::ObjectAnnotation {
646 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
647 let mut debug_struct = f.debug_struct("ObjectAnnotation");
648 debug_struct.field("mid", &self.mid);
649 debug_struct.field("language_code", &self.language_code);
650 debug_struct.field("name", &self.name);
651 debug_struct.field("score", &self.score);
652 if !self._unknown_fields.is_empty() {
653 debug_struct.field("_unknown_fields", &self._unknown_fields);
654 }
655 debug_struct.finish()
656 }
657}
658
659impl std::fmt::Debug for super::product_search_results::GroupedResult {
660 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
661 let mut debug_struct = f.debug_struct("GroupedResult");
662 debug_struct.field("bounding_poly", &self.bounding_poly);
663 debug_struct.field("results", &self.results);
664 debug_struct.field("object_annotations", &self.object_annotations);
665 if !self._unknown_fields.is_empty() {
666 debug_struct.field("_unknown_fields", &self._unknown_fields);
667 }
668 debug_struct.finish()
669 }
670}
671
672impl std::fmt::Debug for super::Product {
673 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
674 let mut debug_struct = f.debug_struct("Product");
675 debug_struct.field("name", &self.name);
676 debug_struct.field("display_name", &self.display_name);
677 debug_struct.field("description", &self.description);
678 debug_struct.field("product_category", &self.product_category);
679 debug_struct.field("product_labels", &self.product_labels);
680 if !self._unknown_fields.is_empty() {
681 debug_struct.field("_unknown_fields", &self._unknown_fields);
682 }
683 debug_struct.finish()
684 }
685}
686
687impl std::fmt::Debug for super::product::KeyValue {
688 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
689 let mut debug_struct = f.debug_struct("KeyValue");
690 debug_struct.field("key", &self.key);
691 debug_struct.field("value", &self.value);
692 if !self._unknown_fields.is_empty() {
693 debug_struct.field("_unknown_fields", &self._unknown_fields);
694 }
695 debug_struct.finish()
696 }
697}
698
699impl std::fmt::Debug for super::ProductSet {
700 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
701 let mut debug_struct = f.debug_struct("ProductSet");
702 debug_struct.field("name", &self.name);
703 debug_struct.field("display_name", &self.display_name);
704 debug_struct.field("index_time", &self.index_time);
705 debug_struct.field("index_error", &self.index_error);
706 if !self._unknown_fields.is_empty() {
707 debug_struct.field("_unknown_fields", &self._unknown_fields);
708 }
709 debug_struct.finish()
710 }
711}
712
713impl std::fmt::Debug for super::ReferenceImage {
714 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
715 let mut debug_struct = f.debug_struct("ReferenceImage");
716 debug_struct.field("name", &self.name);
717 debug_struct.field("uri", &self.uri);
718 debug_struct.field("bounding_polys", &self.bounding_polys);
719 if !self._unknown_fields.is_empty() {
720 debug_struct.field("_unknown_fields", &self._unknown_fields);
721 }
722 debug_struct.finish()
723 }
724}
725
726impl std::fmt::Debug for super::CreateProductRequest {
727 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
728 let mut debug_struct = f.debug_struct("CreateProductRequest");
729 debug_struct.field("parent", &self.parent);
730 debug_struct.field("product", &self.product);
731 debug_struct.field("product_id", &self.product_id);
732 if !self._unknown_fields.is_empty() {
733 debug_struct.field("_unknown_fields", &self._unknown_fields);
734 }
735 debug_struct.finish()
736 }
737}
738
739impl std::fmt::Debug for super::ListProductsRequest {
740 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
741 let mut debug_struct = f.debug_struct("ListProductsRequest");
742 debug_struct.field("parent", &self.parent);
743 debug_struct.field("page_size", &self.page_size);
744 debug_struct.field("page_token", &self.page_token);
745 if !self._unknown_fields.is_empty() {
746 debug_struct.field("_unknown_fields", &self._unknown_fields);
747 }
748 debug_struct.finish()
749 }
750}
751
752impl std::fmt::Debug for super::ListProductsResponse {
753 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
754 let mut debug_struct = f.debug_struct("ListProductsResponse");
755 debug_struct.field("products", &self.products);
756 debug_struct.field("next_page_token", &self.next_page_token);
757 if !self._unknown_fields.is_empty() {
758 debug_struct.field("_unknown_fields", &self._unknown_fields);
759 }
760 debug_struct.finish()
761 }
762}
763
764impl std::fmt::Debug for super::GetProductRequest {
765 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
766 let mut debug_struct = f.debug_struct("GetProductRequest");
767 debug_struct.field("name", &self.name);
768 if !self._unknown_fields.is_empty() {
769 debug_struct.field("_unknown_fields", &self._unknown_fields);
770 }
771 debug_struct.finish()
772 }
773}
774
775impl std::fmt::Debug for super::UpdateProductRequest {
776 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
777 let mut debug_struct = f.debug_struct("UpdateProductRequest");
778 debug_struct.field("product", &self.product);
779 debug_struct.field("update_mask", &self.update_mask);
780 if !self._unknown_fields.is_empty() {
781 debug_struct.field("_unknown_fields", &self._unknown_fields);
782 }
783 debug_struct.finish()
784 }
785}
786
787impl std::fmt::Debug for super::DeleteProductRequest {
788 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
789 let mut debug_struct = f.debug_struct("DeleteProductRequest");
790 debug_struct.field("name", &self.name);
791 if !self._unknown_fields.is_empty() {
792 debug_struct.field("_unknown_fields", &self._unknown_fields);
793 }
794 debug_struct.finish()
795 }
796}
797
798impl std::fmt::Debug for super::CreateProductSetRequest {
799 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
800 let mut debug_struct = f.debug_struct("CreateProductSetRequest");
801 debug_struct.field("parent", &self.parent);
802 debug_struct.field("product_set", &self.product_set);
803 debug_struct.field("product_set_id", &self.product_set_id);
804 if !self._unknown_fields.is_empty() {
805 debug_struct.field("_unknown_fields", &self._unknown_fields);
806 }
807 debug_struct.finish()
808 }
809}
810
811impl std::fmt::Debug for super::ListProductSetsRequest {
812 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
813 let mut debug_struct = f.debug_struct("ListProductSetsRequest");
814 debug_struct.field("parent", &self.parent);
815 debug_struct.field("page_size", &self.page_size);
816 debug_struct.field("page_token", &self.page_token);
817 if !self._unknown_fields.is_empty() {
818 debug_struct.field("_unknown_fields", &self._unknown_fields);
819 }
820 debug_struct.finish()
821 }
822}
823
824impl std::fmt::Debug for super::ListProductSetsResponse {
825 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
826 let mut debug_struct = f.debug_struct("ListProductSetsResponse");
827 debug_struct.field("product_sets", &self.product_sets);
828 debug_struct.field("next_page_token", &self.next_page_token);
829 if !self._unknown_fields.is_empty() {
830 debug_struct.field("_unknown_fields", &self._unknown_fields);
831 }
832 debug_struct.finish()
833 }
834}
835
836impl std::fmt::Debug for super::GetProductSetRequest {
837 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
838 let mut debug_struct = f.debug_struct("GetProductSetRequest");
839 debug_struct.field("name", &self.name);
840 if !self._unknown_fields.is_empty() {
841 debug_struct.field("_unknown_fields", &self._unknown_fields);
842 }
843 debug_struct.finish()
844 }
845}
846
847impl std::fmt::Debug for super::UpdateProductSetRequest {
848 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
849 let mut debug_struct = f.debug_struct("UpdateProductSetRequest");
850 debug_struct.field("product_set", &self.product_set);
851 debug_struct.field("update_mask", &self.update_mask);
852 if !self._unknown_fields.is_empty() {
853 debug_struct.field("_unknown_fields", &self._unknown_fields);
854 }
855 debug_struct.finish()
856 }
857}
858
859impl std::fmt::Debug for super::DeleteProductSetRequest {
860 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
861 let mut debug_struct = f.debug_struct("DeleteProductSetRequest");
862 debug_struct.field("name", &self.name);
863 if !self._unknown_fields.is_empty() {
864 debug_struct.field("_unknown_fields", &self._unknown_fields);
865 }
866 debug_struct.finish()
867 }
868}
869
870impl std::fmt::Debug for super::CreateReferenceImageRequest {
871 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
872 let mut debug_struct = f.debug_struct("CreateReferenceImageRequest");
873 debug_struct.field("parent", &self.parent);
874 debug_struct.field("reference_image", &self.reference_image);
875 debug_struct.field("reference_image_id", &self.reference_image_id);
876 if !self._unknown_fields.is_empty() {
877 debug_struct.field("_unknown_fields", &self._unknown_fields);
878 }
879 debug_struct.finish()
880 }
881}
882
883impl std::fmt::Debug for super::ListReferenceImagesRequest {
884 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
885 let mut debug_struct = f.debug_struct("ListReferenceImagesRequest");
886 debug_struct.field("parent", &self.parent);
887 debug_struct.field("page_size", &self.page_size);
888 debug_struct.field("page_token", &self.page_token);
889 if !self._unknown_fields.is_empty() {
890 debug_struct.field("_unknown_fields", &self._unknown_fields);
891 }
892 debug_struct.finish()
893 }
894}
895
896impl std::fmt::Debug for super::ListReferenceImagesResponse {
897 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
898 let mut debug_struct = f.debug_struct("ListReferenceImagesResponse");
899 debug_struct.field("reference_images", &self.reference_images);
900 debug_struct.field("page_size", &self.page_size);
901 debug_struct.field("next_page_token", &self.next_page_token);
902 if !self._unknown_fields.is_empty() {
903 debug_struct.field("_unknown_fields", &self._unknown_fields);
904 }
905 debug_struct.finish()
906 }
907}
908
909impl std::fmt::Debug for super::GetReferenceImageRequest {
910 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
911 let mut debug_struct = f.debug_struct("GetReferenceImageRequest");
912 debug_struct.field("name", &self.name);
913 if !self._unknown_fields.is_empty() {
914 debug_struct.field("_unknown_fields", &self._unknown_fields);
915 }
916 debug_struct.finish()
917 }
918}
919
920impl std::fmt::Debug for super::DeleteReferenceImageRequest {
921 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
922 let mut debug_struct = f.debug_struct("DeleteReferenceImageRequest");
923 debug_struct.field("name", &self.name);
924 if !self._unknown_fields.is_empty() {
925 debug_struct.field("_unknown_fields", &self._unknown_fields);
926 }
927 debug_struct.finish()
928 }
929}
930
931impl std::fmt::Debug for super::AddProductToProductSetRequest {
932 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
933 let mut debug_struct = f.debug_struct("AddProductToProductSetRequest");
934 debug_struct.field("name", &self.name);
935 debug_struct.field("product", &self.product);
936 if !self._unknown_fields.is_empty() {
937 debug_struct.field("_unknown_fields", &self._unknown_fields);
938 }
939 debug_struct.finish()
940 }
941}
942
943impl std::fmt::Debug for super::RemoveProductFromProductSetRequest {
944 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
945 let mut debug_struct = f.debug_struct("RemoveProductFromProductSetRequest");
946 debug_struct.field("name", &self.name);
947 debug_struct.field("product", &self.product);
948 if !self._unknown_fields.is_empty() {
949 debug_struct.field("_unknown_fields", &self._unknown_fields);
950 }
951 debug_struct.finish()
952 }
953}
954
955impl std::fmt::Debug for super::ListProductsInProductSetRequest {
956 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
957 let mut debug_struct = f.debug_struct("ListProductsInProductSetRequest");
958 debug_struct.field("name", &self.name);
959 debug_struct.field("page_size", &self.page_size);
960 debug_struct.field("page_token", &self.page_token);
961 if !self._unknown_fields.is_empty() {
962 debug_struct.field("_unknown_fields", &self._unknown_fields);
963 }
964 debug_struct.finish()
965 }
966}
967
968impl std::fmt::Debug for super::ListProductsInProductSetResponse {
969 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
970 let mut debug_struct = f.debug_struct("ListProductsInProductSetResponse");
971 debug_struct.field("products", &self.products);
972 debug_struct.field("next_page_token", &self.next_page_token);
973 if !self._unknown_fields.is_empty() {
974 debug_struct.field("_unknown_fields", &self._unknown_fields);
975 }
976 debug_struct.finish()
977 }
978}
979
980impl std::fmt::Debug for super::ImportProductSetsGcsSource {
981 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
982 let mut debug_struct = f.debug_struct("ImportProductSetsGcsSource");
983 debug_struct.field("csv_file_uri", &self.csv_file_uri);
984 if !self._unknown_fields.is_empty() {
985 debug_struct.field("_unknown_fields", &self._unknown_fields);
986 }
987 debug_struct.finish()
988 }
989}
990
991impl std::fmt::Debug for super::ImportProductSetsInputConfig {
992 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
993 let mut debug_struct = f.debug_struct("ImportProductSetsInputConfig");
994 debug_struct.field("source", &self.source);
995 if !self._unknown_fields.is_empty() {
996 debug_struct.field("_unknown_fields", &self._unknown_fields);
997 }
998 debug_struct.finish()
999 }
1000}
1001
1002impl std::fmt::Debug for super::ImportProductSetsRequest {
1003 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1004 let mut debug_struct = f.debug_struct("ImportProductSetsRequest");
1005 debug_struct.field("parent", &self.parent);
1006 debug_struct.field("input_config", &self.input_config);
1007 if !self._unknown_fields.is_empty() {
1008 debug_struct.field("_unknown_fields", &self._unknown_fields);
1009 }
1010 debug_struct.finish()
1011 }
1012}
1013
1014impl std::fmt::Debug for super::ImportProductSetsResponse {
1015 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1016 let mut debug_struct = f.debug_struct("ImportProductSetsResponse");
1017 debug_struct.field("reference_images", &self.reference_images);
1018 debug_struct.field("statuses", &self.statuses);
1019 if !self._unknown_fields.is_empty() {
1020 debug_struct.field("_unknown_fields", &self._unknown_fields);
1021 }
1022 debug_struct.finish()
1023 }
1024}
1025
1026impl std::fmt::Debug for super::BatchOperationMetadata {
1027 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1028 let mut debug_struct = f.debug_struct("BatchOperationMetadata");
1029 debug_struct.field("state", &self.state);
1030 debug_struct.field("submit_time", &self.submit_time);
1031 debug_struct.field("end_time", &self.end_time);
1032 if !self._unknown_fields.is_empty() {
1033 debug_struct.field("_unknown_fields", &self._unknown_fields);
1034 }
1035 debug_struct.finish()
1036 }
1037}
1038
1039impl std::fmt::Debug for super::ProductSetPurgeConfig {
1040 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1041 let mut debug_struct = f.debug_struct("ProductSetPurgeConfig");
1042 debug_struct.field("product_set_id", &self.product_set_id);
1043 if !self._unknown_fields.is_empty() {
1044 debug_struct.field("_unknown_fields", &self._unknown_fields);
1045 }
1046 debug_struct.finish()
1047 }
1048}
1049
1050impl std::fmt::Debug for super::PurgeProductsRequest {
1051 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1052 let mut debug_struct = f.debug_struct("PurgeProductsRequest");
1053 debug_struct.field("parent", &self.parent);
1054 debug_struct.field("force", &self.force);
1055 debug_struct.field("target", &self.target);
1056 if !self._unknown_fields.is_empty() {
1057 debug_struct.field("_unknown_fields", &self._unknown_fields);
1058 }
1059 debug_struct.finish()
1060 }
1061}
1062
1063impl std::fmt::Debug for super::TextAnnotation {
1064 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1065 let mut debug_struct = f.debug_struct("TextAnnotation");
1066 debug_struct.field("pages", &self.pages);
1067 debug_struct.field("text", &self.text);
1068 if !self._unknown_fields.is_empty() {
1069 debug_struct.field("_unknown_fields", &self._unknown_fields);
1070 }
1071 debug_struct.finish()
1072 }
1073}
1074
1075impl std::fmt::Debug for super::text_annotation::DetectedLanguage {
1076 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1077 let mut debug_struct = f.debug_struct("DetectedLanguage");
1078 debug_struct.field("language_code", &self.language_code);
1079 debug_struct.field("confidence", &self.confidence);
1080 if !self._unknown_fields.is_empty() {
1081 debug_struct.field("_unknown_fields", &self._unknown_fields);
1082 }
1083 debug_struct.finish()
1084 }
1085}
1086
1087impl std::fmt::Debug for super::text_annotation::DetectedBreak {
1088 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1089 let mut debug_struct = f.debug_struct("DetectedBreak");
1090 debug_struct.field("r#type", &self.r#type);
1091 debug_struct.field("is_prefix", &self.is_prefix);
1092 if !self._unknown_fields.is_empty() {
1093 debug_struct.field("_unknown_fields", &self._unknown_fields);
1094 }
1095 debug_struct.finish()
1096 }
1097}
1098
1099impl std::fmt::Debug for super::text_annotation::TextProperty {
1100 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1101 let mut debug_struct = f.debug_struct("TextProperty");
1102 debug_struct.field("detected_languages", &self.detected_languages);
1103 debug_struct.field("detected_break", &self.detected_break);
1104 if !self._unknown_fields.is_empty() {
1105 debug_struct.field("_unknown_fields", &self._unknown_fields);
1106 }
1107 debug_struct.finish()
1108 }
1109}
1110
1111impl std::fmt::Debug for super::Page {
1112 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1113 let mut debug_struct = f.debug_struct("Page");
1114 debug_struct.field("property", &self.property);
1115 debug_struct.field("width", &self.width);
1116 debug_struct.field("height", &self.height);
1117 debug_struct.field("blocks", &self.blocks);
1118 debug_struct.field("confidence", &self.confidence);
1119 if !self._unknown_fields.is_empty() {
1120 debug_struct.field("_unknown_fields", &self._unknown_fields);
1121 }
1122 debug_struct.finish()
1123 }
1124}
1125
1126impl std::fmt::Debug for super::Block {
1127 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1128 let mut debug_struct = f.debug_struct("Block");
1129 debug_struct.field("property", &self.property);
1130 debug_struct.field("bounding_box", &self.bounding_box);
1131 debug_struct.field("paragraphs", &self.paragraphs);
1132 debug_struct.field("block_type", &self.block_type);
1133 debug_struct.field("confidence", &self.confidence);
1134 if !self._unknown_fields.is_empty() {
1135 debug_struct.field("_unknown_fields", &self._unknown_fields);
1136 }
1137 debug_struct.finish()
1138 }
1139}
1140
1141impl std::fmt::Debug for super::Paragraph {
1142 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1143 let mut debug_struct = f.debug_struct("Paragraph");
1144 debug_struct.field("property", &self.property);
1145 debug_struct.field("bounding_box", &self.bounding_box);
1146 debug_struct.field("words", &self.words);
1147 debug_struct.field("confidence", &self.confidence);
1148 if !self._unknown_fields.is_empty() {
1149 debug_struct.field("_unknown_fields", &self._unknown_fields);
1150 }
1151 debug_struct.finish()
1152 }
1153}
1154
1155impl std::fmt::Debug for super::Word {
1156 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1157 let mut debug_struct = f.debug_struct("Word");
1158 debug_struct.field("property", &self.property);
1159 debug_struct.field("bounding_box", &self.bounding_box);
1160 debug_struct.field("symbols", &self.symbols);
1161 debug_struct.field("confidence", &self.confidence);
1162 if !self._unknown_fields.is_empty() {
1163 debug_struct.field("_unknown_fields", &self._unknown_fields);
1164 }
1165 debug_struct.finish()
1166 }
1167}
1168
1169impl std::fmt::Debug for super::Symbol {
1170 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1171 let mut debug_struct = f.debug_struct("Symbol");
1172 debug_struct.field("property", &self.property);
1173 debug_struct.field("bounding_box", &self.bounding_box);
1174 debug_struct.field("text", &self.text);
1175 debug_struct.field("confidence", &self.confidence);
1176 if !self._unknown_fields.is_empty() {
1177 debug_struct.field("_unknown_fields", &self._unknown_fields);
1178 }
1179 debug_struct.finish()
1180 }
1181}
1182
1183impl std::fmt::Debug for super::WebDetection {
1184 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1185 let mut debug_struct = f.debug_struct("WebDetection");
1186 debug_struct.field("web_entities", &self.web_entities);
1187 debug_struct.field("full_matching_images", &self.full_matching_images);
1188 debug_struct.field("partial_matching_images", &self.partial_matching_images);
1189 debug_struct.field(
1190 "pages_with_matching_images",
1191 &self.pages_with_matching_images,
1192 );
1193 debug_struct.field("visually_similar_images", &self.visually_similar_images);
1194 debug_struct.field("best_guess_labels", &self.best_guess_labels);
1195 if !self._unknown_fields.is_empty() {
1196 debug_struct.field("_unknown_fields", &self._unknown_fields);
1197 }
1198 debug_struct.finish()
1199 }
1200}
1201
1202impl std::fmt::Debug for super::web_detection::WebEntity {
1203 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1204 let mut debug_struct = f.debug_struct("WebEntity");
1205 debug_struct.field("entity_id", &self.entity_id);
1206 debug_struct.field("score", &self.score);
1207 debug_struct.field("description", &self.description);
1208 if !self._unknown_fields.is_empty() {
1209 debug_struct.field("_unknown_fields", &self._unknown_fields);
1210 }
1211 debug_struct.finish()
1212 }
1213}
1214
1215impl std::fmt::Debug for super::web_detection::WebImage {
1216 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1217 let mut debug_struct = f.debug_struct("WebImage");
1218 debug_struct.field("url", &self.url);
1219 debug_struct.field("score", &self.score);
1220 if !self._unknown_fields.is_empty() {
1221 debug_struct.field("_unknown_fields", &self._unknown_fields);
1222 }
1223 debug_struct.finish()
1224 }
1225}
1226
1227impl std::fmt::Debug for super::web_detection::WebPage {
1228 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1229 let mut debug_struct = f.debug_struct("WebPage");
1230 debug_struct.field("url", &self.url);
1231 debug_struct.field("score", &self.score);
1232 debug_struct.field("page_title", &self.page_title);
1233 debug_struct.field("full_matching_images", &self.full_matching_images);
1234 debug_struct.field("partial_matching_images", &self.partial_matching_images);
1235 if !self._unknown_fields.is_empty() {
1236 debug_struct.field("_unknown_fields", &self._unknown_fields);
1237 }
1238 debug_struct.finish()
1239 }
1240}
1241
1242impl std::fmt::Debug for super::web_detection::WebLabel {
1243 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1244 let mut debug_struct = f.debug_struct("WebLabel");
1245 debug_struct.field("label", &self.label);
1246 debug_struct.field("language_code", &self.language_code);
1247 if !self._unknown_fields.is_empty() {
1248 debug_struct.field("_unknown_fields", &self._unknown_fields);
1249 }
1250 debug_struct.finish()
1251 }
1252}