Struct rusty_runner_api::api::RunScriptQuery
source · pub struct RunScriptQuery {
pub interpreter: ScriptInterpreter,
pub return_logs: bool,
}
Expand description
Fields§
§interpreter: ScriptInterpreter
The script in the request body will be run by the given interpreter
.
return_logs: bool
true
if the api should return stdout
and stderr
. Otherwise only
the exit code is returned. Defaults to false
.
Trait Implementations§
source§impl Debug for RunScriptQuery
impl Debug for RunScriptQuery
source§impl<'de> Deserialize<'de> for RunScriptQuery
impl<'de> Deserialize<'de> for RunScriptQuery
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more