pub struct WorkflowAlias {
pub alias: &'static str,
pub command: &'static str,
pub arguments: &'static [&'static str],
pub reason: &'static str,
}Expand description
A name the workflow runner answered to before the bridge was derived, kept so that no recipe a person or a script used disappears.
An alias carries no description, no group and no semantics of its own: it names a
command of the graph and, where the older spelling meant a command with an argument,
the arguments it always passed. Everything a projection shows about it comes from the
command it names. unused_aliases fails the build when an alias names a command that
no longer exists, so a rename cannot leave a recipe pointing at nothing.
Fields§
§alias: &'static strThe recipe name, as it was.
command: &'static strThe command it resolves to, by canonical identity.
arguments: &'static [&'static str]The arguments the older spelling always passed, before the caller’s own.
reason: &'static strWhy it exists, in one line, for the generated file and the reference to print.
Trait Implementations§
Source§impl Clone for WorkflowAlias
impl Clone for WorkflowAlias
Source§fn clone(&self) -> WorkflowAlias
fn clone(&self) -> WorkflowAlias
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for WorkflowAlias
Source§impl Debug for WorkflowAlias
impl Debug for WorkflowAlias
impl Eq for WorkflowAlias
Source§impl PartialEq for WorkflowAlias
impl PartialEq for WorkflowAlias
Source§fn eq(&self, other: &WorkflowAlias) -> bool
fn eq(&self, other: &WorkflowAlias) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WorkflowAlias
Auto Trait Implementations§
impl Freeze for WorkflowAlias
impl RefUnwindSafe for WorkflowAlias
impl Send for WorkflowAlias
impl Sync for WorkflowAlias
impl Unpin for WorkflowAlias
impl UnsafeUnpin for WorkflowAlias
impl UnwindSafe for WorkflowAlias
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
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.