pub struct CheckResult {
pub form: usize,
pub expected: String,
pub actual: String,
pub pass: bool,
}Expand description
The result of checking one Expectation after a run.
Fields§
§form: usizeIndex of the checked setup form.
expected: StringExpected encoded result.
actual: StringActual encoded result.
pass: boolTrue when expected == actual.
Trait Implementations§
Source§impl Clone for CheckResult
impl Clone for CheckResult
Source§fn clone(&self) -> CheckResult
fn clone(&self) -> CheckResult
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 CheckResult
impl Debug for CheckResult
impl Eq for CheckResult
Source§impl PartialEq for CheckResult
impl PartialEq for CheckResult
Source§fn eq(&self, other: &CheckResult) -> bool
fn eq(&self, other: &CheckResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CheckResult
Auto Trait Implementations§
impl Freeze for CheckResult
impl RefUnwindSafe for CheckResult
impl Send for CheckResult
impl Sync for CheckResult
impl Unpin for CheckResult
impl UnsafeUnpin for CheckResult
impl UnwindSafe for CheckResult
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