pub struct TestScenario {
pub name: String,
pub target_type: String,
pub behavior: TestBehavior,
}Expand description
A test scenario to generate
Fields§
§name: StringName of the test function
target_type: StringType to test
behavior: TestBehaviorTest behavior
Trait Implementations§
Source§impl Clone for TestScenario
impl Clone for TestScenario
Source§fn clone(&self) -> TestScenario
fn clone(&self) -> TestScenario
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TestScenario
impl RefUnwindSafe for TestScenario
impl Send for TestScenario
impl Sync for TestScenario
impl Unpin for TestScenario
impl UnwindSafe for TestScenario
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