pub struct GateResult {
pub name: String,
pub passed: bool,
pub skipped: bool,
pub verdict: Verdict,
pub duration_ms: u64,
pub detail: GateDetail,
pub extra: Option<GateExtra>,
}Expand description
Result of a single gate execution.
Fields§
§name: String§passed: bool§skipped: bool§verdict: VerdictONT-001 §3.4: this gate’s element of the one verdict lattice (Verdict::from_gate(passed, skipped)).
duration_ms: u64§detail: GateDetail§extra: Option<GateExtra>Structured payload for gates invented AFTER GateDetail was frozen.
See GateExtra for why this second channel exists. Adding a field to a
struct is invisible to a match on GateDetail, which is the property
the 0.3.1 compatibility corpus depends on; adding a variant is not.
Serialised only when present, so existing JSON output is unchanged.
Trait Implementations§
Source§impl Clone for GateResult
impl Clone for GateResult
Source§impl Debug for GateResult
impl Debug for GateResult
Auto Trait Implementations§
impl Forget for GateResult
impl Freeze for GateResult
impl Move for GateResult
impl RefUnwindSafe for GateResult
impl Send for GateResult
impl Sync for GateResult
impl Unpin for GateResult
impl UnsafeUnpin for GateResult
impl UnwindSafe for GateResult
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