pub struct PackageTest {
pub test_name: String,
pub test_type: TestType,
pub command: String,
pub timeout_ms: u64,
pub expected_exit: i32,
}Expand description
Definition of a single package test.
Fields§
§test_name: StringName of the test.
test_type: TestTypeClassification of the test.
command: StringCommand to execute for this test.
timeout_ms: u64Maximum execution time in milliseconds.
expected_exit: i32Expected process exit code (0 = success).
Implementations§
Source§impl PackageTest
impl PackageTest
Trait Implementations§
Source§impl Clone for PackageTest
impl Clone for PackageTest
Source§fn clone(&self) -> PackageTest
fn clone(&self) -> PackageTest
Returns a duplicate of the value. Read more
1.0.0§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 PackageTest
impl RefUnwindSafe for PackageTest
impl Send for PackageTest
impl Sync for PackageTest
impl Unpin for PackageTest
impl UnwindSafe for PackageTest
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)