pub struct TargetChurnEvidence {
pub file: FileChurn,
pub since: SinceDuration,
pub min_commits: u32,
pub shallow_clone: bool,
}Expand description
Qualifying target-level churn returned by the focused health API.
Fields§
§file: FileChurnPer-file churn metrics from git history.
since: SinceDurationThe lookback window the churn was measured over.
min_commits: u32The commit-count threshold the target met to qualify.
shallow_clone: boolTrue when the repository is a shallow clone, so churn counts may undercount actual history.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TargetChurnEvidence
impl RefUnwindSafe for TargetChurnEvidence
impl Send for TargetChurnEvidence
impl Sync for TargetChurnEvidence
impl Unpin for TargetChurnEvidence
impl UnsafeUnpin for TargetChurnEvidence
impl UnwindSafe for TargetChurnEvidence
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> 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