pub struct InvariantResultTrace {
pub name: String,
pub passed: bool,
}Expand description
Optional invariant result layered by testing support.
Fields§
§name: StringStable invariant name.
passed: boolWhether the invariant passed.
Trait Implementations§
Source§impl Clone for InvariantResultTrace
impl Clone for InvariantResultTrace
Source§fn clone(&self) -> InvariantResultTrace
fn clone(&self) -> InvariantResultTrace
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InvariantResultTrace
impl Debug for InvariantResultTrace
impl Eq for InvariantResultTrace
Source§impl PartialEq for InvariantResultTrace
impl PartialEq for InvariantResultTrace
Source§fn eq(&self, other: &InvariantResultTrace) -> bool
fn eq(&self, other: &InvariantResultTrace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InvariantResultTrace
Auto Trait Implementations§
impl Freeze for InvariantResultTrace
impl RefUnwindSafe for InvariantResultTrace
impl Send for InvariantResultTrace
impl Sync for InvariantResultTrace
impl Unpin for InvariantResultTrace
impl UnsafeUnpin for InvariantResultTrace
impl UnwindSafe for InvariantResultTrace
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