gcloud-sdk 0.30.0

Async Google gRPC/REST APIs and the client implementation hiding complexity of GCP authentication based on Tonic middleware and Reqwest.
Documentation
use serde::{Deserialize, Serialize}; /*
                                      * BigQuery API
                                      *
                                      * A data platform for customers to create, manage, share and query data.
                                      *
                                      * The version of the OpenAPI document: v2
                                      *
                                      * Generated by: https://openapi-generator.tech
                                      */

use crate::google_rest_apis::bigquery_v2::models;

/// Entry : A single entry in the confusion matrix.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Entry {
    /// Number of items being predicted as this label.
    #[serde(rename = "itemCount", skip_serializing_if = "Option::is_none")]
    pub item_count: Option<String>,
    /// The predicted label. For confidence_threshold > 0, we will also add an entry indicating the number of items under the confidence threshold.
    #[serde(rename = "predictedLabel", skip_serializing_if = "Option::is_none")]
    pub predicted_label: Option<String>,
}

impl Entry {
    /// A single entry in the confusion matrix.
    pub fn new() -> Entry {
        Entry {
            item_count: None,
            predicted_label: None,
        }
    }
}