pub struct Plan {
pub subplans: Vec<Subplan>,
}
Expand description
Representation of a plan defined in a config file.
Fields§
§subplans: Vec<Subplan>
Implementations§
Source§impl Plan
impl Plan
Sourcepub fn create(
strings: &mut WorkflowStrings,
cross_products: Vec<CrossProduct<'_>>,
) -> Result<Self>
pub fn create( strings: &mut WorkflowStrings, cross_products: Vec<CrossProduct<'_>>, ) -> Result<Self>
Create a Plan from spec defined in a config file
Sourcepub fn create_anonymous(
strings: &mut WorkflowStrings,
tasks: &[String],
branch: BranchSpec,
) -> Result<Self>
pub fn create_anonymous( strings: &mut WorkflowStrings, tasks: &[String], branch: BranchSpec, ) -> Result<Self>
Create an anonymous plan defined on the command line
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnwindSafe for Plan
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