pub struct TrendResult {
pub from_timestamp: String,
pub to_timestamp: String,
pub detonated_delta: i64,
pub ticking_delta: i64,
pub total_delta: i64,
pub newly_detonated: Vec<ReportAnnotation>,
pub resolved: Vec<ReportAnnotation>,
pub snoozed: Vec<ReportAnnotation>,
}Expand description
Summary of how fuse debt has changed between two report snapshots.
Fields§
§from_timestamp: String§to_timestamp: String§detonated_delta: i64Positive = more detonated (worse), negative = fewer (better).
ticking_delta: i64§total_delta: i64§newly_detonated: Vec<ReportAnnotation>Fuses in B.detonated whose file:line key is not in A.detonated.
resolved: Vec<ReportAnnotation>Fuses in A.detonated whose file:line key is absent from B entirely.
snoozed: Vec<ReportAnnotation>Fuses in A.detonated that are now in B.ticking (deadline bumped).
Trait Implementations§
Source§impl Debug for TrendResult
impl Debug for TrendResult
Auto Trait Implementations§
impl Freeze for TrendResult
impl RefUnwindSafe for TrendResult
impl Send for TrendResult
impl Sync for TrendResult
impl Unpin for TrendResult
impl UnsafeUnpin for TrendResult
impl UnwindSafe for TrendResult
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> 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