pub struct RunScriptQuery {
pub interpreter: ScriptInterpreter,
pub return_stdout: bool,
pub return_stderr: bool,
}
Expand description
Fields§
§interpreter: ScriptInterpreter
The script in the request body will be run by the given interpreter
.
return_stdout: bool
true
if the api should capture and return stdout
. Defaults to false
.
return_stderr: bool
true
if the api should capture and return stderr
. 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 Freeze for RunScriptQuery
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