pub struct TrendReport {
pub previous_score: f64,
pub current_score: f64,
pub score_delta: f64,
pub previous_violations: usize,
pub current_violations: usize,
pub violation_delta: i64,
pub rule_trends: Vec<RuleTrend>,
}Expand description
Trend report comparing two snapshots.
Fields§
§previous_score: f64§current_score: f64§score_delta: f64§previous_violations: usize§current_violations: usize§violation_delta: i64§rule_trends: Vec<RuleTrend>Trait Implementations§
Source§impl Clone for TrendReport
impl Clone for TrendReport
Source§fn clone(&self) -> TrendReport
fn clone(&self) -> TrendReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TrendReport
impl RefUnwindSafe for TrendReport
impl Send for TrendReport
impl Sync for TrendReport
impl Unpin for TrendReport
impl UnsafeUnpin for TrendReport
impl UnwindSafe for TrendReport
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,
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