pub struct AssessmentDiff {
pub files_added: Vec<String>,
pub files_removed: Vec<String>,
pub findings_new: Vec<Finding>,
pub findings_resolved: Vec<Finding>,
pub complexity_delta: i64,
pub coherence_delta: f64,
}Expand description
Diff between two assessment reports.
Fields§
§files_added: Vec<String>Files present in current but not in previous.
files_removed: Vec<String>Files present in previous but not in current.
findings_new: Vec<Finding>Findings in current that were not in previous.
findings_resolved: Vec<Finding>Findings in previous that are no longer in current.
complexity_delta: i64Change in complexity warnings (positive = more warnings).
coherence_delta: f64Change in coherence score (positive = improved).
Trait Implementations§
Source§impl Clone for AssessmentDiff
impl Clone for AssessmentDiff
Source§impl Debug for AssessmentDiff
impl Debug for AssessmentDiff
Source§impl<'de> Deserialize<'de> for AssessmentDiff
impl<'de> Deserialize<'de> for AssessmentDiff
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AssessmentDiff
impl RefUnwindSafe for AssessmentDiff
impl Send for AssessmentDiff
impl Sync for AssessmentDiff
impl Unpin for AssessmentDiff
impl UnsafeUnpin for AssessmentDiff
impl UnwindSafe for AssessmentDiff
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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