pub struct ReportDiff {
pub newly_detonated: Vec<ReportAnnotation>,
pub resolved: Vec<ReportAnnotation>,
pub new_annotations: Vec<ReportAnnotation>,
pub snoozed: Vec<(ReportAnnotation, ReportAnnotation)>,
}Expand description
The result of diffing two reports.
Fields§
§newly_detonated: Vec<ReportAnnotation>Fuses that are detonated in the new report but were not in the old one (either newly added past their deadline, or crossed the deadline since last report).
resolved: Vec<ReportAnnotation>Fuses present in old report but absent in new (cleaned up / deleted).
new_annotations: Vec<ReportAnnotation>Fuses in new report that weren’t in old report at all (any status).
snoozed: Vec<(ReportAnnotation, ReportAnnotation)>Fuses whose date changed between old and new report (snoozed).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReportDiff
impl RefUnwindSafe for ReportDiff
impl Send for ReportDiff
impl Sync for ReportDiff
impl Unpin for ReportDiff
impl UnsafeUnpin for ReportDiff
impl UnwindSafe for ReportDiff
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