1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::model::bqml_training_run::BqmlTrainingRun;
use crate::model::model_definition_model_options::ModelDefinitionModelOptions;
use serde::{Deserialize, Serialize};
#[derive(Debug, Default, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct ModelDefinition {
#[serde(skip_serializing_if = "Option::is_none")]
pub model_options: Option<ModelDefinitionModelOptions>,
#[serde(skip_serializing_if = "Option::is_none")]
pub training_runs: Option<Vec<BqmlTrainingRun>>,
}