pub struct CheckOutcome {
pub run_receipt: RunReceipt,
pub run_path: PathBuf,
pub compare_receipt: Option<CompareReceipt>,
pub compare_path: Option<PathBuf>,
pub report: PerfgateReport,
pub report_path: PathBuf,
pub markdown: String,
pub markdown_path: PathBuf,
pub warnings: Vec<String>,
pub failed: bool,
pub exit_code: i32,
}Expand description
Outcome of the check use case.
Fields§
§run_receipt: RunReceiptThe run receipt produced.
run_path: PathBufPath where run receipt was written.
compare_receipt: Option<CompareReceipt>The compare receipt (None if no baseline).
compare_path: Option<PathBuf>Path where compare receipt was written (None if no baseline).
report: PerfgateReportThe report (always present for cockpit integration).
report_path: PathBufPath where report was written.
markdown: StringThe markdown content.
markdown_path: PathBufPath where markdown was written.
warnings: Vec<String>Warnings generated during the check.
failed: boolTrue if the check failed (based on verdict and flags).
exit_code: i32Exit code to use (0=pass, 2=fail, 3=warn with fail-on-warn).
Trait Implementations§
Source§impl Clone for CheckOutcome
impl Clone for CheckOutcome
Source§fn clone(&self) -> CheckOutcome
fn clone(&self) -> CheckOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§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 CheckOutcome
impl RefUnwindSafe for CheckOutcome
impl Send for CheckOutcome
impl Sync for CheckOutcome
impl Unpin for CheckOutcome
impl UnsafeUnpin for CheckOutcome
impl UnwindSafe for CheckOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.