pub struct AssertionSlotSnapshot {
pub msg: String,
pub kind: u8,
pub must_hit: u8,
pub pass_count: u64,
pub fail_count: u64,
pub watermark: i64,
pub frontier: u8,
}Expand description
A snapshot of an assertion slot for reporting.
Fields§
§msg: StringThe assertion message.
kind: u8The kind of assertion (AssertKind as u8).
must_hit: u8Whether this assertion must be hit.
pass_count: u64Number of times the assertion passed.
fail_count: u64Number of times the assertion failed.
watermark: i64Best watermark value (for numeric assertions).
frontier: u8Frontier value (for BooleanSometimesAll).
Trait Implementations§
Source§impl Clone for AssertionSlotSnapshot
impl Clone for AssertionSlotSnapshot
Source§fn clone(&self) -> AssertionSlotSnapshot
fn clone(&self) -> AssertionSlotSnapshot
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 AssertionSlotSnapshot
impl RefUnwindSafe for AssertionSlotSnapshot
impl Send for AssertionSlotSnapshot
impl Sync for AssertionSlotSnapshot
impl Unpin for AssertionSlotSnapshot
impl UnsafeUnpin for AssertionSlotSnapshot
impl UnwindSafe for AssertionSlotSnapshot
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