pub struct TestCaseInfo {
pub name: String,
pub enabled: bool,
}
Expand description
Internal representation of a test case, after it has been parsed from the data provided by a test binary.
Fields§
§name: String
Name of the test case.
enabled: bool
Whether the test is enabled or disabled by the developer.
Trait Implementations§
Source§impl Clone for TestCaseInfo
impl Clone for TestCaseInfo
Source§fn clone(&self) -> TestCaseInfo
fn clone(&self) -> TestCaseInfo
Returns a copy 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 Debug for TestCaseInfo
impl Debug for TestCaseInfo
Source§impl Hash for TestCaseInfo
impl Hash for TestCaseInfo
Source§impl Ord for TestCaseInfo
impl Ord for TestCaseInfo
Source§fn cmp(&self, other: &TestCaseInfo) -> Ordering
fn cmp(&self, other: &TestCaseInfo) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TestCaseInfo
impl PartialEq for TestCaseInfo
Source§impl PartialOrd for TestCaseInfo
impl PartialOrd for TestCaseInfo
impl Eq for TestCaseInfo
impl StructuralPartialEq for TestCaseInfo
Auto Trait Implementations§
impl Freeze for TestCaseInfo
impl RefUnwindSafe for TestCaseInfo
impl Send for TestCaseInfo
impl Sync for TestCaseInfo
impl Unpin for TestCaseInfo
impl UnwindSafe for TestCaseInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)