pub enum ChangeScopeOwner {
Run,
Caller,
}Expand description
Engine-owned change scope of one run: a global changed-file set or the
per-workspace Git baselines of workspaces.changedSince.
Who owns the change scope of a run.
Variants§
Run
The run owns it: a global ref when one is requested, otherwise the configured package baselines.
Caller
The calling pipeline narrows the findings itself. audit is the
example: it compares a head run and a base run against its own changed
files. The run reads no package baselines, so it never resolves Git
refs in a base snapshot and never hides a finding that the comparison
needs.
Trait Implementations§
Source§impl Clone for ChangeScopeOwner
impl Clone for ChangeScopeOwner
Source§fn clone(&self) -> ChangeScopeOwner
fn clone(&self) -> ChangeScopeOwner
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 moreimpl Copy for ChangeScopeOwner
Source§impl Debug for ChangeScopeOwner
impl Debug for ChangeScopeOwner
Source§impl Default for ChangeScopeOwner
impl Default for ChangeScopeOwner
Source§fn default() -> ChangeScopeOwner
fn default() -> ChangeScopeOwner
Returns the “default value” for a type. Read more
impl Eq for ChangeScopeOwner
Source§impl PartialEq for ChangeScopeOwner
impl PartialEq for ChangeScopeOwner
impl StructuralPartialEq for ChangeScopeOwner
Auto Trait Implementations§
impl Freeze for ChangeScopeOwner
impl RefUnwindSafe for ChangeScopeOwner
impl Send for ChangeScopeOwner
impl Sync for ChangeScopeOwner
impl Unpin for ChangeScopeOwner
impl UnsafeUnpin for ChangeScopeOwner
impl UnwindSafe for ChangeScopeOwner
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more