pub struct GateResult {
pub name: String,
pub passed: bool,
pub skipped: bool,
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§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§fn clone(&self) -> GateResult
fn clone(&self) -> GateResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GateResult
impl Debug for GateResult
Source§impl Serialize for GateResult
impl Serialize for GateResult
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze 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