google-cloud-aiplatform-v1-schema-predict-params 1.4.0

Google Cloud Client Libraries for Rust - Vertex AI API
Documentation
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by sidekick. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;

impl std::fmt::Debug for super::ImageClassificationPredictionParams {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut debug_struct = f.debug_struct("ImageClassificationPredictionParams");
        debug_struct.field("confidence_threshold", &self.confidence_threshold);
        debug_struct.field("max_predictions", &self.max_predictions);
        if !self._unknown_fields.is_empty() {
            debug_struct.field("_unknown_fields", &self._unknown_fields);
        }
        debug_struct.finish()
    }
}

impl std::fmt::Debug for super::ImageObjectDetectionPredictionParams {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut debug_struct = f.debug_struct("ImageObjectDetectionPredictionParams");
        debug_struct.field("confidence_threshold", &self.confidence_threshold);
        debug_struct.field("max_predictions", &self.max_predictions);
        if !self._unknown_fields.is_empty() {
            debug_struct.field("_unknown_fields", &self._unknown_fields);
        }
        debug_struct.finish()
    }
}

impl std::fmt::Debug for super::ImageSegmentationPredictionParams {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut debug_struct = f.debug_struct("ImageSegmentationPredictionParams");
        debug_struct.field("confidence_threshold", &self.confidence_threshold);
        if !self._unknown_fields.is_empty() {
            debug_struct.field("_unknown_fields", &self._unknown_fields);
        }
        debug_struct.finish()
    }
}

impl std::fmt::Debug for super::VideoActionRecognitionPredictionParams {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut debug_struct = f.debug_struct("VideoActionRecognitionPredictionParams");
        debug_struct.field("confidence_threshold", &self.confidence_threshold);
        debug_struct.field("max_predictions", &self.max_predictions);
        if !self._unknown_fields.is_empty() {
            debug_struct.field("_unknown_fields", &self._unknown_fields);
        }
        debug_struct.finish()
    }
}

impl std::fmt::Debug for super::VideoClassificationPredictionParams {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut debug_struct = f.debug_struct("VideoClassificationPredictionParams");
        debug_struct.field("confidence_threshold", &self.confidence_threshold);
        debug_struct.field("max_predictions", &self.max_predictions);
        debug_struct.field("segment_classification", &self.segment_classification);
        debug_struct.field("shot_classification", &self.shot_classification);
        debug_struct.field(
            "one_sec_interval_classification",
            &self.one_sec_interval_classification,
        );
        if !self._unknown_fields.is_empty() {
            debug_struct.field("_unknown_fields", &self._unknown_fields);
        }
        debug_struct.finish()
    }
}

impl std::fmt::Debug for super::VideoObjectTrackingPredictionParams {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut debug_struct = f.debug_struct("VideoObjectTrackingPredictionParams");
        debug_struct.field("confidence_threshold", &self.confidence_threshold);
        debug_struct.field("max_predictions", &self.max_predictions);
        debug_struct.field("min_bounding_box_size", &self.min_bounding_box_size);
        if !self._unknown_fields.is_empty() {
            debug_struct.field("_unknown_fields", &self._unknown_fields);
        }
        debug_struct.finish()
    }
}