pub struct ThresholdReport {
pub total: usize,
pub passed: usize,
pub failed: usize,
pub results: Vec<ThresholdResult>,
}Expand description
Aggregated results from evaluating all thresholds against a RunReport.
Fields§
§total: usize§passed: usize§failed: usize§results: Vec<ThresholdResult>Implementations§
Source§impl ThresholdReport
impl ThresholdReport
Sourcepub fn all_passed(&self) -> bool
pub fn all_passed(&self) -> bool
Returns true only when every threshold passed.
Trait Implementations§
Source§impl Clone for ThresholdReport
impl Clone for ThresholdReport
Source§fn clone(&self) -> ThresholdReport
fn clone(&self) -> ThresholdReport
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 moreSource§impl Debug for ThresholdReport
impl Debug for ThresholdReport
Auto Trait Implementations§
impl Freeze for ThresholdReport
impl RefUnwindSafe for ThresholdReport
impl Send for ThresholdReport
impl Sync for ThresholdReport
impl Unpin for ThresholdReport
impl UnsafeUnpin for ThresholdReport
impl UnwindSafe for ThresholdReport
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