pub struct CheckResult {
pub body: CiVerdictBody,
pub combined_output: String,
pub attempts: u32,
pub attempt_records: Vec<AttemptRecord>,
}Expand description
One check’s verdict body and operational sidecars.
Fields§
§body: CiVerdictBodySignable verdict-v2 body.
combined_output: StringANSI-stripped combined output.
attempts: u32Attempts performed.
attempt_records: Vec<AttemptRecord>Attempt records, not part of the signed body.
Implementations§
Source§impl CheckResult
impl CheckResult
Sourcepub fn conclusion(&self) -> Conclusion
pub fn conclusion(&self) -> Conclusion
Terminal conclusion.
Sourcepub fn recovered_after_flake(&self) -> bool
pub fn recovered_after_flake(&self) -> bool
Whether a successful result needed a flake retry.
Trait Implementations§
Source§impl Clone for CheckResult
impl Clone for CheckResult
Source§fn clone(&self) -> CheckResult
fn clone(&self) -> CheckResult
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 moreAuto Trait Implementations§
impl Freeze for CheckResult
impl RefUnwindSafe for CheckResult
impl Send for CheckResult
impl Sync for CheckResult
impl Unpin for CheckResult
impl UnsafeUnpin for CheckResult
impl UnwindSafe for CheckResult
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