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

pub struct Output {
    pub name: String,
    pub value: Option<Value>,
    pub type_: Option<String>,
    // some fields omitted
}

A named output value from an execution.

Fields

name: String

The name of this output.

value: Option<Value>

The value of this output, or None if it has not yet been computed.

type_: Option<String>

The type of this output, or None if we don't know the type.

Methods

impl Output[src]

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

Get this output as the specified type, performing any necessary conversions. Returns an error if this output hasn't been computed yet.

Trait Implementations

impl Clone for Output[src]

impl Debug for Output[src]

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

impl Serialize for Output[src]

Auto Trait Implementations

impl RefUnwindSafe for Output

impl Send for Output

impl Sync for Output

impl Unpin for Output

impl UnwindSafe for Output

Blanket Implementations

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

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

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

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

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 = Infallible

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.