pub struct GenerationPlan {
pub id: String,
pub spec_id: String,
pub steps: Vec<GenerationStep>,
pub dependencies: Vec<(String, String)>,
pub constraints: Vec<Constraint>,
}Expand description
A generation plan derived from a specification
Fields§
§id: StringUnique identifier for the plan
spec_id: StringSpec ID this plan was derived from
steps: Vec<GenerationStep>Ordered generation steps
dependencies: Vec<(String, String)>Dependencies between steps (step_id_a, step_id_b means a must complete before b)
constraints: Vec<Constraint>Constraints extracted from spec
Trait Implementations§
Source§impl Clone for GenerationPlan
impl Clone for GenerationPlan
Source§fn clone(&self) -> GenerationPlan
fn clone(&self) -> GenerationPlan
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 moreAuto Trait Implementations§
impl Freeze for GenerationPlan
impl RefUnwindSafe for GenerationPlan
impl Send for GenerationPlan
impl Sync for GenerationPlan
impl Unpin for GenerationPlan
impl UnwindSafe for GenerationPlan
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