pub struct StepSpec {
pub name: &'static str,
pub chapter: &'static str,
pub mutates: Mutates,
pub proves: &'static str,
pub destructive: bool,
pub optional: bool,
pub prereqs: &'static [&'static str],
}Expand description
One step of the setup, in canonical order.
Fields§
§name: &'static strThe name, which is also the rk setup step argument and the script
file name in every forge tree.
chapter: &'static strThe method/02-setup.md section the step executes.
mutates: MutatesWhat the step touches under apply.
proves: &'static strWhat the step proves, from the chapter.
destructive: boolWhether the step deletes anything; a destructive step carries its own
refusal beyond --apply.
optional: boolWhether a full run skips the step: an optional step applies only
where its condition holds, by name, through rk setup step.
prereqs: &'static [&'static str]Steps that must be observed satisfied before this one applies.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StepSpec
impl RefUnwindSafe for StepSpec
impl Send for StepSpec
impl Sync for StepSpec
impl Unpin for StepSpec
impl UnsafeUnpin for StepSpec
impl UnwindSafe for StepSpec
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