[][src]Struct bigml::resource::library::Args

pub struct Args {
    pub category: Option<i64>,
    pub description: Option<String>,
    pub imports: Vec<Id<Library>>,
    pub name: Option<String>,
    pub source_code: String,
    pub tags: Vec<String>,
    // some fields omitted
}

Arguments used to create a new BigML script.

Fields

category: Option<i64>

The category code which best describes this script.

description: Option<String>

A human-readable description of this script.

imports: Vec<Id<Library>>

A list of "library/..." identifiers to import.

name: Option<String>

A human-readable name for this script.

source_code: String

The source code of this script.

tags: Vec<String>

User-defined tags.

Methods

impl Args[src]

pub fn new<S: Into<String>>(source_code: S) -> Args[src]

Create a new ScriptNew value.

Trait Implementations

impl Args for Args[src]

type Resource = Library

The resource type these arguments create.

impl Debug for Args[src]

impl Serialize for Args[src]

Auto Trait Implementations

impl Send for Args

impl Sync for Args

impl Unpin for Args

impl UnwindSafe for Args

impl RefUnwindSafe for Args

Blanket Implementations

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

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

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, U> TryInto<U> for T where
    U: TryFrom<T>, 

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