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

Used to classify by industry or category. 0 is "Miscellaneous".

An HTTP status code, typically either 201 or 200.

TODO: Deserialize as a reqwest::StatusCode?

Was this created in development mode?

Text describing this resource. May contain limited Markdown.

The name of this resource

Has this been shared using a private link?

Was this created using a subscription plan?

User-defined tags.

The ID of this execution.

The status of this source.

The name of the file uploaded.

An MD5 hash of the uploaded file.

The number of bytes of the source.

Trait Implementations

impl Debug for Source
[src]

Formats the value using the given formatter.

impl Clone for Source
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Resource for Source
[src]

The prefix used for all IDs of this type.

The URL path used to create a new resource of this type.

The ID of this resource.

The status code for this resource. Read more