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;
/// Row : A single row in the confusion matrix.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Row {
/// The original label of this row.
#[serde(rename = "actualLabel", skip_serializing_if = "Option::is_none")]
pub actual_label: Option<String>,
/// Info describing predicted label distribution.
#[serde(rename = "entries", skip_serializing_if = "Option::is_none")]
pub entries: Option<Vec<models::Entry>>,
}
impl Row {
/// A single row in the confusion matrix.
pub fn new() -> Row {
Row {
actual_label: None,
entries: None,
}
}
}