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;
/// Explanation : Explanation for a single feature.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Explanation {
/// Attribution of feature.
#[serde(rename = "attribution", skip_serializing_if = "Option::is_none")]
pub attribution: Option<f64>,
/// The full feature name. For non-numerical features, will be formatted like `.`. Overall size of feature name will always be truncated to first 120 characters.
#[serde(rename = "featureName", skip_serializing_if = "Option::is_none")]
pub feature_name: Option<String>,
}
impl Explanation {
/// Explanation for a single feature.
pub fn new() -> Explanation {
Explanation {
attribution: None,
feature_name: None,
}
}
}