pub struct Case {
pub name: String,
pub fixture: PathBuf,
pub expected: Data,
}
Fields§
§name: String
Display name
fixture: PathBuf
Input for the test
expected: Data
What the actual output should be compared against or updated
Generally derived from fixture
and loaded with Data::read_from
Auto Trait Implementations§
impl Freeze for Case
impl RefUnwindSafe for Case
impl Send for Case
impl Sync for Case
impl Unpin for Case
impl UnwindSafe for Case
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