Struct wan::wandbox::Parameter
[−]
[src]
pub struct Parameter { pub code: String, pub compiler: String, pub stdin: Option<String>, pub options: Option<String>, pub codes: Option<Vec<Code>>, pub compiler_option_raw: Option<String>, pub runtime_option_raw: Option<String>, pub save: Option<bool>, pub created_at: Option<String>, }
Fields
code: String
compiler: String
stdin: Option<String>
options: Option<String>
codes: Option<Vec<Code>>
compiler_option_raw: Option<String>
runtime_option_raw: Option<String>
save: Option<bool>
created_at: Option<String>
Methods
impl Parameter
[src]
fn new<S1: Into<String>, S2: Into<String>>(code: S1, compiler: S2) -> Self
fn options<S: Into<String>>(&mut self, options: S) -> &mut Self
fn code<S>(&mut self, file: S) -> &mut Self where
S: AsRef<str>,
S: AsRef<str>,
fn codes<I, S>(&mut self, files: I) -> &mut Self where
I: IntoIterator<Item = S>,
S: AsRef<str>,
I: IntoIterator<Item = S>,
S: AsRef<str>,
fn stdin<S: Into<String>>(&mut self, stdin: S) -> &mut Self
fn compiler_option<I, S>(&mut self, options: I) -> &mut Self where
I: IntoIterator<Item = S>,
S: AsRef<str>,
I: IntoIterator<Item = S>,
S: AsRef<str>,
fn runtime_option<I, S>(&mut self, options: I) -> &mut Self where
I: IntoIterator<Item = S>,
S: AsRef<str>,
I: IntoIterator<Item = S>,
S: AsRef<str>,