1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
//! https://bigml.com/api/clusters

use super::Resource;
use super::id::*;
use super::status::*;

resource! {
    api_name "cluster";

    /// An cluster of multiple predictive models.
    ///
    /// TODO: Still lots of missing fields.
    #[derive(Debug, Deserialize, Clone)]
    pub struct Cluster {
        /// The current status of this cluster.
        pub status: GenericStatus,

        // The dataset used to create this cluster.
        //pub dataset: Id<Dataset>,
    }
}