gcp_bigquery_client/model/
cluster_info.rs

1
2
3
4
5
6
7
8
9
10
11
12
//! Information about a single cluster for clustering model.

#[derive(Debug, Default, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct ClusterInfo {
    /// Cluster size, the total number of points assigned to the cluster.
    pub cluster_size: Option<i64>,
    /// Centroid id.
    pub centroid_id: Option<i64>,
    /// Cluster radius, the average distance from centroid to each point assigned to the cluster.
    pub cluster_radius: Option<f64>,
}