pub struct TestReport {
pub results: Vec<VectorResult>,
pub total: usize,
pub passed: usize,
pub failed: usize,
pub skipped: usize,
}Expand description
Report from running all vectors.
Fields§
§results: Vec<VectorResult>Results for each vector
total: usizeTotal vectors processed
passed: usizeVectors that passed
failed: usizeVectors that failed
skipped: usizeVectors that were skipped
Implementations§
Source§impl TestReport
impl TestReport
Sourcepub fn all_passed(&self) -> bool
pub fn all_passed(&self) -> bool
Whether all non-skipped vectors passed.
Sourcepub fn failures(&self) -> Vec<&VectorResult>
pub fn failures(&self) -> Vec<&VectorResult>
Get only the failed vectors.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestReport
impl RefUnwindSafe for TestReport
impl Send for TestReport
impl Sync for TestReport
impl Unpin for TestReport
impl UnsafeUnpin for TestReport
impl UnwindSafe for TestReport
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