[][src]Struct bigml::resource::execution::Data

pub struct Data {
    pub outputs: Vec<Output>,
    pub result: Option<Value>,
    pub logs: Vec<LogEntry>,
    pub output_resources: Vec<OutputResource>,
    pub sources: Vec<Source>,
    // some fields omitted
}

Data about a script execution.

TODO: Lots of missing fields.

Fields

outputs: Vec<Output>

Outputs from this script.

result: Option<Value>

Result values from the script. This is literally whatever value is returned at the end of the WhizzML script.

logs: Vec<LogEntry>

Log entries generated by the script.

output_resources: Vec<OutputResource>

BigML resources created by the script.

sources: Vec<Source>

Source files used as inputs to this execution.

Methods

impl Data[src]

pub fn get<D: DeserializeOwned>(&self, name: &str) -> Result<D>[src]

Get a named output of this execution.

Trait Implementations

impl Clone for Data[src]

impl Debug for Data[src]

impl Serialize for Data[src]

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

Auto Trait Implementations

impl Send for Data

impl Sync for Data

impl Unpin for Data

impl UnwindSafe for Data

impl RefUnwindSafe for Data

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