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
Auto Trait Implementations§
impl RefUnwindSafe for RunScriptQuery
impl Send for RunScriptQuery
impl Sync for RunScriptQuery
impl Unpin for RunScriptQuery
impl UnwindSafe for RunScriptQuery
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more