pub struct LocalRun {
pub command: String,
pub shell: Option<Shell>,
pub test: Option<String>,
pub work_dir: Option<String>,
pub interactive: Option<bool>,
pub ignore_errors: Option<bool>,
pub verbose: Option<bool>,
}Fieldsยง
ยงcommand: StringThe command to run
shell: Option<Shell>The shell to use to run the command
test: Option<String>The test to run before running command If the test fails, the command will not run
work_dir: Option<String>The working directory to run the command in
interactive: Option<bool>Interactive mode If true, the command will be interactive accepting user input
ignore_errors: Option<bool>Ignore errors if the command fails
verbose: Option<bool>Show verbose output
Implementationsยง
Trait Implementationsยง
Sourceยงimpl<'de> Deserialize<'de> for LocalRun
impl<'de> Deserialize<'de> for LocalRun
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 LocalRun
impl RefUnwindSafe for LocalRun
impl Send for LocalRun
impl Sync for LocalRun
impl Unpin for LocalRun
impl UnwindSafe for LocalRun
Blanket Implementationsยง
ยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
ยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
ยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
ยงunsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit)Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more