1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
//! A WhizzML script on BigML.

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

resource! {
    api_name "script";

    /// A WhizzML script on BigML.
    ///
    /// TODO: Still lots of missing fields.
    #[derive(Debug, Deserialize, Clone)]
    pub struct Script {
        /// The status of this resource.
        pub status: GenericStatus,

        /// The source code of this script.
        pub source_code: String,
    }
}