pub struct FlowInfo {
pub config: Config,
pub task: String,
pub env_info: EnvInfo,
pub disable_workspace: bool,
pub disable_on_error: bool,
pub allow_private: bool,
pub skip_init_end_tasks: bool,
pub skip_tasks_pattern: Option<Regex>,
pub cli_arguments: Option<Vec<String>>,
}
Expand description
Holds flow information
Fields§
§config: Config
The flow config object
task: String
The main task of the flow
env_info: EnvInfo
The env info
disable_workspace: bool
Prevent workspace support
disable_on_error: bool
Prevent on error flow even if defined in config section
allow_private: bool
Allow invocation of private tasks
skip_init_end_tasks: bool
If true, the init and end tasks are skipped
skip_tasks_pattern: Option<Regex>
Skip tasks that match the provided pattern
cli_arguments: Option<Vec<String>>
additional command line arguments
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FlowInfo
impl RefUnwindSafe for FlowInfo
impl Send for FlowInfo
impl Sync for FlowInfo
impl Unpin for FlowInfo
impl UnwindSafe for FlowInfo
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