pub struct Fixture {
pub id: String,
pub description: String,
pub kind: Kind,
pub repeat: u32,
pub core: bool,
pub steps: Vec<Step>,
pub pass: Cond,
pub fail: Vec<FailRule>,
}Fields§
§id: String§description: String§kind: Kind§repeat: u32How many times to run; a fixture passes only if every run passes.
core: boolCounts toward a partial verdict.
steps: Vec<Step>§pass: Cond§fail: Vec<FailRule>Trait Implementations§
impl StructuralPartialEq for Fixture
Auto Trait Implementations§
impl Forget for Fixture
impl Freeze for Fixture
impl RefUnwindSafe for Fixture
impl Send for Fixture
impl Sync for Fixture
impl Unpin for Fixture
impl UnsafeUnpin for Fixture
impl UnwindSafe for Fixture
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