pub struct Case {
pub name: String,
pub fixture: PathBuf,
pub expected: Data,
}Fields§
§name: StringDisplay name
fixture: PathBufInput for the test
expected: DataWhat 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