pub struct InitStep {
pub argv: Vec<String>,
pub hosts: Vec<String>,
pub writes: String,
pub env: Vec<(String, String)>,
pub marker: &'static str,
pub note: Option<String>,
pub preset: bool,
}Expand description
One command of the format’s own init, as a new project’s plan runs it.
Fields§
§argv: Vec<String>The command, exactly.
hosts: Vec<String>The hosts it reaches; empty: local.
writes: StringWhat it writes, in one line.
env: Vec<(String, String)>Variables it runs with beside the person’s.
marker: &'static strIts effect, for resuming: done when this path exists in the folder.
note: Option<String>A note the plan shows beside it.
preset: boolIt installs the format’s evidence preset.
Trait Implementations§
impl Eq for InitStep
impl StructuralPartialEq for InitStep
Auto Trait Implementations§
impl Freeze for InitStep
impl RefUnwindSafe for InitStep
impl Send for InitStep
impl Sync for InitStep
impl Unpin for InitStep
impl UnsafeUnpin for InitStep
impl UnwindSafe for InitStep
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.