pub struct TestProperties {
pub should_panic: ShouldPanic,
pub test_type: TestType,
pub timeout: Option<Duration>,
pub flakiness_control: FlakinessControl,
pub capture_control: CaptureControl,
pub report_time_control: ReportTimeControl,
pub ensure_time_control: ReportTimeControl,
pub tags: Vec<String>,
pub is_ignored: bool,
}
Fields§
§should_panic: ShouldPanic
§test_type: TestType
§timeout: Option<Duration>
§flakiness_control: FlakinessControl
§capture_control: CaptureControl
§report_time_control: ReportTimeControl
§ensure_time_control: ReportTimeControl
§is_ignored: bool
Implementations§
Source§impl TestProperties
impl TestProperties
pub fn unit_test() -> TestProperties
pub fn integration_test() -> TestProperties
Trait Implementations§
Source§impl Clone for TestProperties
impl Clone for TestProperties
Source§fn clone(&self) -> TestProperties
fn clone(&self) -> TestProperties
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 moreSource§impl Default for TestProperties
impl Default for TestProperties
Source§fn default() -> TestProperties
fn default() -> TestProperties
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TestProperties
impl RefUnwindSafe for TestProperties
impl Send for TestProperties
impl Sync for TestProperties
impl Unpin for TestProperties
impl UnwindSafe for TestProperties
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