Struct bigml::resource::source::Source
[−]
[src]
pub struct Source {
pub category: i64,
pub code: u16,
pub dev: Option<bool>,
pub description: String,
pub name: String,
pub shared: bool,
pub subscription: bool,
pub tags: Vec<String>,
pub resource: Id<Source>,
pub status: GenericStatus,
pub file_name: String,
pub md5: String,
pub size: u64,
// some fields omitted
}A data source used by BigML.
TODO: Still lots of missing fields.
Fields
category: i64
Used to classify by industry or category. 0 is "Miscellaneous".
code: u16
An HTTP status code, typically either 201 or 200.
TODO: Deserialize as a reqwest::StatusCode?
dev: Option<bool>
Was this created in development mode?
description: String
Text describing this resource. May contain limited Markdown.
name: String
The name of this resource
Has this been shared using a private link?
subscription: bool
Was this created using a subscription plan?
User-defined tags.
resource: Id<Source>
The ID of this execution.
status: GenericStatus
The status of this source.
file_name: String
The name of the file uploaded.
md5: String
An MD5 hash of the uploaded file.
size: u64
The number of bytes of the source.