Struct bigml::resource::dataset::Dataset [−][src]
pub struct Dataset { pub common: ResourceCommon, pub resource: Id<Dataset>, pub status: GenericStatus, pub columns: usize, pub excluded_fields: Vec<String>, pub field_types: HashMap<String, u64>, pub fields: HashMap<String, Field>, pub input_fields: Vec<String>, pub rows: usize, // some fields omitted }
A BigML dataset. Basically a table of data with named columns.
TODO: Still lots of missing fields.
Fields
common: ResourceCommon
Common resource information. These fields will be serialized at the
top-level of this structure by serde
.
resource: Id<Dataset>
The ID of this resource.
status: GenericStatus
The current status of this execution.
columns: usize
The number of columns in the dataset.
excluded_fields: Vec<String>
Field IDs excluded when building this dataset.
field_types: HashMap<String, u64>
The number of fields of each type. This includes a few odd things like "preferred", so we represent it as a string.
fields: HashMap<String, Field>
Metadata describing each field.
input_fields: Vec<String>
Field IDs included when building this dataset.
rows: usize
The number of rows in this dataset.
Trait Implementations
impl Clone for Dataset
[src]
impl Clone for Dataset
fn clone(&self) -> Dataset
[src]
fn clone(&self) -> Dataset
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Dataset
[src]
impl Debug for Dataset
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Resource for Dataset
[src]
impl Resource for Dataset
fn id_prefix() -> &'static str
[src]
fn id_prefix() -> &'static str
The prefix used for all IDs of this type.
fn create_path() -> &'static str
[src]
fn create_path() -> &'static str
The URL path used to create a new resource of this type.
fn common(&self) -> &ResourceCommon
[src]
fn common(&self) -> &ResourceCommon
Fields shared between all resource types. These are "flattened" into the top-level of the JSON version of this resource. Read more
fn id(&self) -> &Id<Self>
[src]
fn id(&self) -> &Id<Self>
The ID of this resource.
fn status(&self) -> &Status
[src]
fn status(&self) -> &Status
The status code for this resource. Read more