[][src]Struct bigml::resource::dataset::Dataset

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. Will be empty while object is being created.

input_fields: Vec<String>

Field IDs included when building this dataset.

rows: usize

The number of rows in this dataset.

Trait Implementations

impl Resource for Dataset[src]

impl Clone for Dataset[src]

impl Debug for Dataset[src]

impl Serialize for Dataset[src]

impl<'de> Deserialize<'de> for Dataset[src]

Auto Trait Implementations

impl Send for Dataset

impl Sync for Dataset

impl Unpin for Dataset

impl UnwindSafe for Dataset

impl RefUnwindSafe for Dataset

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err