pub struct RunChange<'a> {
pub root: &'a Path,
pub base_ref: &'a str,
pub shared: Option<SharedDiff<'a>>,
pub changed_files: &'a FxHashSet<PathBuf>,
/* private fields */
}Expand description
The change of one audit run: its files, and the inputs of its diff.
Fields§
§root: &'a PathHead analysis root.
base_ref: &'a strResolved base ref, for the merge-base worktree diff.
The opt-in shared diff of the run.
changed_files: &'a FxHashSet<PathBuf>The files that the change touched or deleted.
Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for RunChange<'a>
impl<'a> !RefUnwindSafe for RunChange<'a>
impl<'a> !Sync for RunChange<'a>
impl<'a> Forget for RunChange<'a>
impl<'a> Move for RunChange<'a>
impl<'a> Send for RunChange<'a>
impl<'a> Unpin for RunChange<'a>
impl<'a> UnsafeUnpin for RunChange<'a>
impl<'a> UnwindSafe for RunChange<'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
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
impl<T> ErasedDestructor for Twhere
T: 'static,
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