Struct cli::types::RunTaskDetails
source · pub struct RunTaskDetails {
pub name: RunTaskName,
pub fork: Option<bool>,
pub parallel: Option<bool>,
pub cleanup_task: Option<String>,
}
Expand description
Holds the run task information
Fields§
§name: RunTaskName
The task name
fork: Option<bool>
True to fork the task to a new sub process
parallel: Option<bool>
True to run all tasks in parallel (default false)
cleanup_task: Option<String>
Cleanup task name
Trait Implementations§
source§impl Clone for RunTaskDetails
impl Clone for RunTaskDetails
source§fn clone(&self) -> RunTaskDetails
fn clone(&self) -> RunTaskDetails
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 RunTaskDetails
impl Debug for RunTaskDetails
source§impl<'de> Deserialize<'de> for RunTaskDetails
impl<'de> Deserialize<'de> for RunTaskDetails
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 RunTaskDetails
impl RefUnwindSafe for RunTaskDetails
impl Send for RunTaskDetails
impl Sync for RunTaskDetails
impl Unpin for RunTaskDetails
impl UnwindSafe for RunTaskDetails
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
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