pub struct CheckReceipt {
pub checks_run: u64,
pub outcome: CheckOutcome,
pub failure_id: Option<String>,
}Expand description
Written by the approved checking adapter to KRANZ_CONTROL_RESULT. A failed build, missing test, or shell error without this receipt cannot masquerade as a test finding the intended defect. This is scoped checker evidence, not an independent attestation that an arbitrary checker is truthful.
Fields§
§checks_run: u64§outcome: CheckOutcome§failure_id: Option<String>Trait Implementations§
Source§impl Clone for CheckReceipt
impl Clone for CheckReceipt
Source§fn clone(&self) -> CheckReceipt
fn clone(&self) -> CheckReceipt
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 CheckReceipt
impl Debug for CheckReceipt
Source§impl<'de> Deserialize<'de> for CheckReceipt
impl<'de> Deserialize<'de> for CheckReceipt
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CheckReceipt
impl RefUnwindSafe for CheckReceipt
impl Send for CheckReceipt
impl Sync for CheckReceipt
impl Unpin for CheckReceipt
impl UnsafeUnpin for CheckReceipt
impl UnwindSafe for CheckReceipt
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