pub struct VerifyOutcome {
pub passed: bool,
pub exit_code: i32,
pub command: String,
}Expand description
The parsed verdict of one verification command. passed == (exit_code == 0)
(borrowed from claw-code’s TestCommandProvenance::passed, but wired).
Fields§
§passed: boolWhether the command exited 0.
exit_code: i32The process exit code (-1 if the process was killed without a code).
command: StringThe command that was run (as configured).
Trait Implementations§
Source§impl Clone for VerifyOutcome
impl Clone for VerifyOutcome
Source§fn clone(&self) -> VerifyOutcome
fn clone(&self) -> VerifyOutcome
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 VerifyOutcome
impl Debug for VerifyOutcome
impl Eq for VerifyOutcome
Source§impl PartialEq for VerifyOutcome
impl PartialEq for VerifyOutcome
Source§fn eq(&self, other: &VerifyOutcome) -> bool
fn eq(&self, other: &VerifyOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VerifyOutcome
Auto Trait Implementations§
impl Freeze for VerifyOutcome
impl RefUnwindSafe for VerifyOutcome
impl Send for VerifyOutcome
impl Sync for VerifyOutcome
impl Unpin for VerifyOutcome
impl UnsafeUnpin for VerifyOutcome
impl UnwindSafe for VerifyOutcome
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.