pub struct PlannedCommand {
pub program: String,
pub args: Vec<String>,
}Expand description
One external command an adapter intends to run, captured as data rather than
executed — the atom of a DryRunReport and the auditable record of what a
build/publish step shelled out to.
Rendered, never re-parsed: a caller keys off Self::program /
Self::args, and Self::rendered is the human-readable one-liner for a
planning envelope or a log line.
Fields§
§program: StringThe program to invoke (cargo, npm, twine, goreleaser, gh, …).
args: Vec<String>The arguments passed to Self::program, in order.
Implementations§
Trait Implementations§
Source§impl Clone for PlannedCommand
impl Clone for PlannedCommand
Source§fn clone(&self) -> PlannedCommand
fn clone(&self) -> PlannedCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlannedCommand
impl Debug for PlannedCommand
impl Eq for PlannedCommand
Source§impl PartialEq for PlannedCommand
impl PartialEq for PlannedCommand
Source§impl Serialize for PlannedCommand
impl Serialize for PlannedCommand
impl StructuralPartialEq for PlannedCommand
Auto Trait Implementations§
impl Freeze for PlannedCommand
impl RefUnwindSafe for PlannedCommand
impl Send for PlannedCommand
impl Sync for PlannedCommand
impl Unpin for PlannedCommand
impl UnsafeUnpin for PlannedCommand
impl UnwindSafe for PlannedCommand
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> 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§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.