pub enum RunnerConfig {
String(String),
Object {
cmd: String,
cwd: Option<String>,
args: Option<Vec<String>>,
},
}
Expand description
The runner configuration.
Variants§
String(String)
A string specifying the binary to run.
Object
An object with advanced configuration options.
Implementations§
Trait Implementations§
Source§impl Clone for RunnerConfig
impl Clone for RunnerConfig
Source§fn clone(&self) -> RunnerConfig
fn clone(&self) -> RunnerConfig
Returns a duplicate 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 RunnerConfig
impl Debug for RunnerConfig
Source§impl Default for RunnerConfig
impl Default for RunnerConfig
Source§impl<'de> Deserialize<'de> for RunnerConfig
impl<'de> Deserialize<'de> for RunnerConfig
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
Source§impl From<&str> for RunnerConfig
impl From<&str> for RunnerConfig
Source§impl From<String> for RunnerConfig
impl From<String> for RunnerConfig
Source§impl FromStr for RunnerConfig
impl FromStr for RunnerConfig
Source§impl PartialEq for RunnerConfig
impl PartialEq for RunnerConfig
Source§impl Serialize for RunnerConfig
impl Serialize for RunnerConfig
impl Eq for RunnerConfig
impl StructuralPartialEq for RunnerConfig
Auto Trait Implementations§
impl Freeze for RunnerConfig
impl RefUnwindSafe for RunnerConfig
impl Send for RunnerConfig
impl Sync for RunnerConfig
impl Unpin for RunnerConfig
impl UnwindSafe for RunnerConfig
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