Enum rusty_runner_api::api::ScriptInterpreter
source · pub enum ScriptInterpreter {
Bash,
Cmd,
Powershell,
}
Expand description
The interpreter that the script will be called with.
Not all interpreters may be supported by any runner.
Variants§
Implementations§
source§impl ScriptInterpreter
impl ScriptInterpreter
sourcepub fn as_extension(&self) -> &'static str
pub fn as_extension(&self) -> &'static str
Returns the default file extension.
Trait Implementations§
source§impl Clone for ScriptInterpreter
impl Clone for ScriptInterpreter
source§fn clone(&self) -> ScriptInterpreter
fn clone(&self) -> ScriptInterpreter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ScriptInterpreter
impl Debug for ScriptInterpreter
source§impl<'de> Deserialize<'de> for ScriptInterpreter
impl<'de> Deserialize<'de> for ScriptInterpreter
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