pub struct Mismatch {
pub case: String,
pub value: Value,
pub expected_valid: bool,
}Expand description
A mismatch: a value accepted that should fail, or the reverse.
Fields§
§case: String§value: Value§expected_valid: boolTrait Implementations§
impl StructuralPartialEq for Mismatch
Auto Trait Implementations§
impl Forget for Mismatch
impl Freeze for Mismatch
impl Move for Mismatch
impl RefUnwindSafe for Mismatch
impl Send for Mismatch
impl Sync for Mismatch
impl Unpin for Mismatch
impl UnsafeUnpin for Mismatch
impl UnwindSafe for Mismatch
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