pub struct Check {
pub name: String,
pub argv: Vec<String>,
pub cwd: String,
pub when_exists: Option<String>,
pub tier: Tier,
pub timeout: Duration,
pub junit: Option<String>,
}Expand description
One declared check.
Fields§
§name: StringTable name, e.g. test for [checks.test].
argv: Vec<String>Program and arguments; run without a shell.
cwd: StringWorking directory relative to the root (. by default).
when_exists: Option<String>Only applicable when this root-relative path exists.
tier: Tierfast (default) or full.
timeout: DurationDeadline for the whole process group.
junit: Option<String>Root-relative JUnit report the check writes.
Trait Implementations§
impl Eq for Check
impl StructuralPartialEq for Check
Auto Trait Implementations§
impl Freeze for Check
impl RefUnwindSafe for Check
impl Send for Check
impl Sync for Check
impl Unpin for Check
impl UnsafeUnpin for Check
impl UnwindSafe for Check
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.