#[allow(unused_imports)]
use super::*;
impl std::fmt::Debug for super::Vertex {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Vertex");
debug_struct.field("x", &self.x);
debug_struct.field("y", &self.y);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::NormalizedVertex {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("NormalizedVertex");
debug_struct.field("x", &self.x);
debug_struct.field("y", &self.y);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::BoundingPoly {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("BoundingPoly");
debug_struct.field("vertices", &self.vertices);
debug_struct.field("normalized_vertices", &self.normalized_vertices);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Position {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Position");
debug_struct.field("x", &self.x);
debug_struct.field("y", &self.y);
debug_struct.field("z", &self.z);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Feature {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Feature");
debug_struct.field("r#type", &self.r#type);
debug_struct.field("max_results", &self.max_results);
debug_struct.field("model", &self.model);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ImageSource {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ImageSource");
debug_struct.field("gcs_image_uri", &self.gcs_image_uri);
debug_struct.field("image_uri", &self.image_uri);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Image {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Image");
debug_struct.field("content", &self.content);
debug_struct.field("source", &self.source);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::FaceAnnotation {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("FaceAnnotation");
debug_struct.field("bounding_poly", &self.bounding_poly);
debug_struct.field("fd_bounding_poly", &self.fd_bounding_poly);
debug_struct.field("landmarks", &self.landmarks);
debug_struct.field("roll_angle", &self.roll_angle);
debug_struct.field("pan_angle", &self.pan_angle);
debug_struct.field("tilt_angle", &self.tilt_angle);
debug_struct.field("detection_confidence", &self.detection_confidence);
debug_struct.field("landmarking_confidence", &self.landmarking_confidence);
debug_struct.field("joy_likelihood", &self.joy_likelihood);
debug_struct.field("sorrow_likelihood", &self.sorrow_likelihood);
debug_struct.field("anger_likelihood", &self.anger_likelihood);
debug_struct.field("surprise_likelihood", &self.surprise_likelihood);
debug_struct.field("under_exposed_likelihood", &self.under_exposed_likelihood);
debug_struct.field("blurred_likelihood", &self.blurred_likelihood);
debug_struct.field("headwear_likelihood", &self.headwear_likelihood);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::face_annotation::Landmark {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Landmark");
debug_struct.field("r#type", &self.r#type);
debug_struct.field("position", &self.position);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LocationInfo {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LocationInfo");
debug_struct.field("lat_lng", &self.lat_lng);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Property {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Property");
debug_struct.field("name", &self.name);
debug_struct.field("value", &self.value);
debug_struct.field("uint64_value", &self.uint64_value);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::EntityAnnotation {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("EntityAnnotation");
debug_struct.field("mid", &self.mid);
debug_struct.field("locale", &self.locale);
debug_struct.field("description", &self.description);
debug_struct.field("score", &self.score);
debug_struct.field("confidence", &self.confidence);
debug_struct.field("topicality", &self.topicality);
debug_struct.field("bounding_poly", &self.bounding_poly);
debug_struct.field("locations", &self.locations);
debug_struct.field("properties", &self.properties);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LocalizedObjectAnnotation {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LocalizedObjectAnnotation");
debug_struct.field("mid", &self.mid);
debug_struct.field("language_code", &self.language_code);
debug_struct.field("name", &self.name);
debug_struct.field("score", &self.score);
debug_struct.field("bounding_poly", &self.bounding_poly);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::SafeSearchAnnotation {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("SafeSearchAnnotation");
debug_struct.field("adult", &self.adult);
debug_struct.field("spoof", &self.spoof);
debug_struct.field("medical", &self.medical);
debug_struct.field("violence", &self.violence);
debug_struct.field("racy", &self.racy);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::LatLongRect {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("LatLongRect");
debug_struct.field("min_lat_lng", &self.min_lat_lng);
debug_struct.field("max_lat_lng", &self.max_lat_lng);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ColorInfo {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ColorInfo");
debug_struct.field("color", &self.color);
debug_struct.field("score", &self.score);
debug_struct.field("pixel_fraction", &self.pixel_fraction);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::DominantColorsAnnotation {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DominantColorsAnnotation");
debug_struct.field("colors", &self.colors);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ImageProperties {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ImageProperties");
debug_struct.field("dominant_colors", &self.dominant_colors);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::CropHint {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("CropHint");
debug_struct.field("bounding_poly", &self.bounding_poly);
debug_struct.field("confidence", &self.confidence);
debug_struct.field("importance_fraction", &self.importance_fraction);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::CropHintsAnnotation {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("CropHintsAnnotation");
debug_struct.field("crop_hints", &self.crop_hints);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::CropHintsParams {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("CropHintsParams");
debug_struct.field("aspect_ratios", &self.aspect_ratios);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::WebDetectionParams {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("WebDetectionParams");
debug_struct.field("include_geo_results", &self.include_geo_results);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::TextDetectionParams {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("TextDetectionParams");
debug_struct.field(
"enable_text_detection_confidence_score",
&self.enable_text_detection_confidence_score,
);
debug_struct.field("advanced_ocr_options", &self.advanced_ocr_options);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ImageContext {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ImageContext");
debug_struct.field("lat_long_rect", &self.lat_long_rect);
debug_struct.field("language_hints", &self.language_hints);
debug_struct.field("crop_hints_params", &self.crop_hints_params);
debug_struct.field("product_search_params", &self.product_search_params);
debug_struct.field("web_detection_params", &self.web_detection_params);
debug_struct.field("text_detection_params", &self.text_detection_params);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::AnnotateImageRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("AnnotateImageRequest");
debug_struct.field("image", &self.image);
debug_struct.field("features", &self.features);
debug_struct.field("image_context", &self.image_context);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ImageAnnotationContext {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ImageAnnotationContext");
debug_struct.field("uri", &self.uri);
debug_struct.field("page_number", &self.page_number);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::AnnotateImageResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("AnnotateImageResponse");
debug_struct.field("face_annotations", &self.face_annotations);
debug_struct.field("landmark_annotations", &self.landmark_annotations);
debug_struct.field("logo_annotations", &self.logo_annotations);
debug_struct.field("label_annotations", &self.label_annotations);
debug_struct.field(
"localized_object_annotations",
&self.localized_object_annotations,
);
debug_struct.field("text_annotations", &self.text_annotations);
debug_struct.field("full_text_annotation", &self.full_text_annotation);
debug_struct.field("safe_search_annotation", &self.safe_search_annotation);
debug_struct.field(
"image_properties_annotation",
&self.image_properties_annotation,
);
debug_struct.field("crop_hints_annotation", &self.crop_hints_annotation);
debug_struct.field("web_detection", &self.web_detection);
debug_struct.field("product_search_results", &self.product_search_results);
debug_struct.field("error", &self.error);
debug_struct.field("context", &self.context);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::BatchAnnotateImagesRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("BatchAnnotateImagesRequest");
debug_struct.field("requests", &self.requests);
debug_struct.field("parent", &self.parent);
debug_struct.field("labels", &self.labels);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::BatchAnnotateImagesResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("BatchAnnotateImagesResponse");
debug_struct.field("responses", &self.responses);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::AnnotateFileRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("AnnotateFileRequest");
debug_struct.field("input_config", &self.input_config);
debug_struct.field("features", &self.features);
debug_struct.field("image_context", &self.image_context);
debug_struct.field("pages", &self.pages);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::AnnotateFileResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("AnnotateFileResponse");
debug_struct.field("input_config", &self.input_config);
debug_struct.field("responses", &self.responses);
debug_struct.field("total_pages", &self.total_pages);
debug_struct.field("error", &self.error);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::BatchAnnotateFilesRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("BatchAnnotateFilesRequest");
debug_struct.field("requests", &self.requests);
debug_struct.field("parent", &self.parent);
debug_struct.field("labels", &self.labels);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::BatchAnnotateFilesResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("BatchAnnotateFilesResponse");
debug_struct.field("responses", &self.responses);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::AsyncAnnotateFileRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("AsyncAnnotateFileRequest");
debug_struct.field("input_config", &self.input_config);
debug_struct.field("features", &self.features);
debug_struct.field("image_context", &self.image_context);
debug_struct.field("output_config", &self.output_config);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::AsyncAnnotateFileResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("AsyncAnnotateFileResponse");
debug_struct.field("output_config", &self.output_config);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::AsyncBatchAnnotateImagesRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("AsyncBatchAnnotateImagesRequest");
debug_struct.field("requests", &self.requests);
debug_struct.field("output_config", &self.output_config);
debug_struct.field("parent", &self.parent);
debug_struct.field("labels", &self.labels);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::AsyncBatchAnnotateImagesResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("AsyncBatchAnnotateImagesResponse");
debug_struct.field("output_config", &self.output_config);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::AsyncBatchAnnotateFilesRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("AsyncBatchAnnotateFilesRequest");
debug_struct.field("requests", &self.requests);
debug_struct.field("parent", &self.parent);
debug_struct.field("labels", &self.labels);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::AsyncBatchAnnotateFilesResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("AsyncBatchAnnotateFilesResponse");
debug_struct.field("responses", &self.responses);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::InputConfig {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("InputConfig");
debug_struct.field("gcs_source", &self.gcs_source);
debug_struct.field("content", &self.content);
debug_struct.field("mime_type", &self.mime_type);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::OutputConfig {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("OutputConfig");
debug_struct.field("gcs_destination", &self.gcs_destination);
debug_struct.field("batch_size", &self.batch_size);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::GcsSource {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GcsSource");
debug_struct.field("uri", &self.uri);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::GcsDestination {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GcsDestination");
debug_struct.field("uri", &self.uri);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::OperationMetadata {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("OperationMetadata");
debug_struct.field("state", &self.state);
debug_struct.field("create_time", &self.create_time);
debug_struct.field("update_time", &self.update_time);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ProductSearchParams {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ProductSearchParams");
debug_struct.field("bounding_poly", &self.bounding_poly);
debug_struct.field("product_set", &self.product_set);
debug_struct.field("product_categories", &self.product_categories);
debug_struct.field("filter", &self.filter);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ProductSearchResults {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ProductSearchResults");
debug_struct.field("index_time", &self.index_time);
debug_struct.field("results", &self.results);
debug_struct.field("product_grouped_results", &self.product_grouped_results);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::product_search_results::Result {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Result");
debug_struct.field("product", &self.product);
debug_struct.field("score", &self.score);
debug_struct.field("image", &self.image);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::product_search_results::ObjectAnnotation {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ObjectAnnotation");
debug_struct.field("mid", &self.mid);
debug_struct.field("language_code", &self.language_code);
debug_struct.field("name", &self.name);
debug_struct.field("score", &self.score);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::product_search_results::GroupedResult {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GroupedResult");
debug_struct.field("bounding_poly", &self.bounding_poly);
debug_struct.field("results", &self.results);
debug_struct.field("object_annotations", &self.object_annotations);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Product {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Product");
debug_struct.field("name", &self.name);
debug_struct.field("display_name", &self.display_name);
debug_struct.field("description", &self.description);
debug_struct.field("product_category", &self.product_category);
debug_struct.field("product_labels", &self.product_labels);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::product::KeyValue {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("KeyValue");
debug_struct.field("key", &self.key);
debug_struct.field("value", &self.value);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ProductSet {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ProductSet");
debug_struct.field("name", &self.name);
debug_struct.field("display_name", &self.display_name);
debug_struct.field("index_time", &self.index_time);
debug_struct.field("index_error", &self.index_error);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ReferenceImage {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ReferenceImage");
debug_struct.field("name", &self.name);
debug_struct.field("uri", &self.uri);
debug_struct.field("bounding_polys", &self.bounding_polys);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::CreateProductRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("CreateProductRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("product", &self.product);
debug_struct.field("product_id", &self.product_id);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListProductsRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListProductsRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("page_size", &self.page_size);
debug_struct.field("page_token", &self.page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListProductsResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListProductsResponse");
debug_struct.field("products", &self.products);
debug_struct.field("next_page_token", &self.next_page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::GetProductRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GetProductRequest");
debug_struct.field("name", &self.name);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::UpdateProductRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("UpdateProductRequest");
debug_struct.field("product", &self.product);
debug_struct.field("update_mask", &self.update_mask);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::DeleteProductRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DeleteProductRequest");
debug_struct.field("name", &self.name);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::CreateProductSetRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("CreateProductSetRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("product_set", &self.product_set);
debug_struct.field("product_set_id", &self.product_set_id);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListProductSetsRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListProductSetsRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("page_size", &self.page_size);
debug_struct.field("page_token", &self.page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListProductSetsResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListProductSetsResponse");
debug_struct.field("product_sets", &self.product_sets);
debug_struct.field("next_page_token", &self.next_page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::GetProductSetRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GetProductSetRequest");
debug_struct.field("name", &self.name);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::UpdateProductSetRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("UpdateProductSetRequest");
debug_struct.field("product_set", &self.product_set);
debug_struct.field("update_mask", &self.update_mask);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::DeleteProductSetRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DeleteProductSetRequest");
debug_struct.field("name", &self.name);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::CreateReferenceImageRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("CreateReferenceImageRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("reference_image", &self.reference_image);
debug_struct.field("reference_image_id", &self.reference_image_id);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListReferenceImagesRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListReferenceImagesRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("page_size", &self.page_size);
debug_struct.field("page_token", &self.page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListReferenceImagesResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListReferenceImagesResponse");
debug_struct.field("reference_images", &self.reference_images);
debug_struct.field("page_size", &self.page_size);
debug_struct.field("next_page_token", &self.next_page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::GetReferenceImageRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GetReferenceImageRequest");
debug_struct.field("name", &self.name);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::DeleteReferenceImageRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DeleteReferenceImageRequest");
debug_struct.field("name", &self.name);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::AddProductToProductSetRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("AddProductToProductSetRequest");
debug_struct.field("name", &self.name);
debug_struct.field("product", &self.product);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::RemoveProductFromProductSetRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("RemoveProductFromProductSetRequest");
debug_struct.field("name", &self.name);
debug_struct.field("product", &self.product);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListProductsInProductSetRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListProductsInProductSetRequest");
debug_struct.field("name", &self.name);
debug_struct.field("page_size", &self.page_size);
debug_struct.field("page_token", &self.page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListProductsInProductSetResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListProductsInProductSetResponse");
debug_struct.field("products", &self.products);
debug_struct.field("next_page_token", &self.next_page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ImportProductSetsGcsSource {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ImportProductSetsGcsSource");
debug_struct.field("csv_file_uri", &self.csv_file_uri);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ImportProductSetsInputConfig {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ImportProductSetsInputConfig");
debug_struct.field("source", &self.source);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ImportProductSetsRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ImportProductSetsRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("input_config", &self.input_config);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ImportProductSetsResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ImportProductSetsResponse");
debug_struct.field("reference_images", &self.reference_images);
debug_struct.field("statuses", &self.statuses);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::BatchOperationMetadata {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("BatchOperationMetadata");
debug_struct.field("state", &self.state);
debug_struct.field("submit_time", &self.submit_time);
debug_struct.field("end_time", &self.end_time);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ProductSetPurgeConfig {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ProductSetPurgeConfig");
debug_struct.field("product_set_id", &self.product_set_id);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::PurgeProductsRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("PurgeProductsRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("force", &self.force);
debug_struct.field("target", &self.target);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::TextAnnotation {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("TextAnnotation");
debug_struct.field("pages", &self.pages);
debug_struct.field("text", &self.text);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::text_annotation::DetectedLanguage {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DetectedLanguage");
debug_struct.field("language_code", &self.language_code);
debug_struct.field("confidence", &self.confidence);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::text_annotation::DetectedBreak {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DetectedBreak");
debug_struct.field("r#type", &self.r#type);
debug_struct.field("is_prefix", &self.is_prefix);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::text_annotation::TextProperty {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("TextProperty");
debug_struct.field("detected_languages", &self.detected_languages);
debug_struct.field("detected_break", &self.detected_break);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Page {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Page");
debug_struct.field("property", &self.property);
debug_struct.field("width", &self.width);
debug_struct.field("height", &self.height);
debug_struct.field("blocks", &self.blocks);
debug_struct.field("confidence", &self.confidence);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Block {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Block");
debug_struct.field("property", &self.property);
debug_struct.field("bounding_box", &self.bounding_box);
debug_struct.field("paragraphs", &self.paragraphs);
debug_struct.field("block_type", &self.block_type);
debug_struct.field("confidence", &self.confidence);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Paragraph {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Paragraph");
debug_struct.field("property", &self.property);
debug_struct.field("bounding_box", &self.bounding_box);
debug_struct.field("words", &self.words);
debug_struct.field("confidence", &self.confidence);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Word {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Word");
debug_struct.field("property", &self.property);
debug_struct.field("bounding_box", &self.bounding_box);
debug_struct.field("symbols", &self.symbols);
debug_struct.field("confidence", &self.confidence);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Symbol {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Symbol");
debug_struct.field("property", &self.property);
debug_struct.field("bounding_box", &self.bounding_box);
debug_struct.field("text", &self.text);
debug_struct.field("confidence", &self.confidence);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::WebDetection {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("WebDetection");
debug_struct.field("web_entities", &self.web_entities);
debug_struct.field("full_matching_images", &self.full_matching_images);
debug_struct.field("partial_matching_images", &self.partial_matching_images);
debug_struct.field(
"pages_with_matching_images",
&self.pages_with_matching_images,
);
debug_struct.field("visually_similar_images", &self.visually_similar_images);
debug_struct.field("best_guess_labels", &self.best_guess_labels);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::web_detection::WebEntity {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("WebEntity");
debug_struct.field("entity_id", &self.entity_id);
debug_struct.field("score", &self.score);
debug_struct.field("description", &self.description);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::web_detection::WebImage {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("WebImage");
debug_struct.field("url", &self.url);
debug_struct.field("score", &self.score);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::web_detection::WebPage {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("WebPage");
debug_struct.field("url", &self.url);
debug_struct.field("score", &self.score);
debug_struct.field("page_title", &self.page_title);
debug_struct.field("full_matching_images", &self.full_matching_images);
debug_struct.field("partial_matching_images", &self.partial_matching_images);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::web_detection::WebLabel {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("WebLabel");
debug_struct.field("label", &self.label);
debug_struct.field("language_code", &self.language_code);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}