pub struct UnitTest {
pub name: String,
pub test_fn: String,
pub assertions: Vec<Assertion>,
}Expand description
A single unit test
Fields§
§name: String§test_fn: String§assertions: Vec<Assertion>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnitTest
impl RefUnwindSafe for UnitTest
impl Send for UnitTest
impl Sync for UnitTest
impl Unpin for UnitTest
impl UnwindSafe for UnitTest
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