pub struct BaselineRecheckInput<'a> {
pub command: &'a str,
pub path: &'a str,
pub baseline_entries: usize,
pub scope_reasons: BaselineScopeReasons,
}Expand description
The loaded baseline a narrowed run could not judge, for the
recheck-baseline next step.
A run narrowed to part of the project compares a whole-project baseline against a slice of it, so both the advisory and the gate stand down and the baseline can rot unnoticed for as long as every run is narrowed. The step names the one run that CAN judge it. It stays read-only, like every other entry: it re-reads the baseline and reports, it never re-saves.
Offered only when dropping every channel in scope_reasons widens the run,
because the step’s command carries --baseline and nothing else.
Fields§
§command: &'a strThe command whose baseline this is, as fallow <command> spells it.
path: &'a strThe --baseline path as the caller wrote it. The envelope’s
root-prefix post-process renders it root-relative when it lives under
the analyzed root and leaves it absolute otherwise, so the command stays
runnable from the root either way.
baseline_entries: usizeEntries the loaded baseline carried. Zero means there is nothing to re-check.
scope_reasons: BaselineScopeReasonsThe channels that narrowed this run, named in the reason so the two
cannot drift from the published scope_reasons. A channel the printed
command cannot drop suppresses the step entirely.
Trait Implementations§
Source§impl<'a> Clone for BaselineRecheckInput<'a>
impl<'a> Clone for BaselineRecheckInput<'a>
impl<'a> Copy for BaselineRecheckInput<'a>
Source§impl<'a> Debug for BaselineRecheckInput<'a>
impl<'a> Debug for BaselineRecheckInput<'a>
impl<'a> Eq for BaselineRecheckInput<'a>
Source§impl<'a> PartialEq for BaselineRecheckInput<'a>
impl<'a> PartialEq for BaselineRecheckInput<'a>
impl<'a> StructuralPartialEq for BaselineRecheckInput<'a>
Auto Trait Implementations§
impl<'a> Freeze for BaselineRecheckInput<'a>
impl<'a> RefUnwindSafe for BaselineRecheckInput<'a>
impl<'a> Send for BaselineRecheckInput<'a>
impl<'a> Sync for BaselineRecheckInput<'a>
impl<'a> Unpin for BaselineRecheckInput<'a>
impl<'a> UnsafeUnpin for BaselineRecheckInput<'a>
impl<'a> UnwindSafe for BaselineRecheckInput<'a>
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
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
key and return true if they are equal.