pub struct CommandCheckResult {
pub id: String,
pub passed: bool,
pub evidence: String,
pub expected_exit_code: i32,
pub actual_exit_code: Option<i32>,
pub stdout: String,
pub stderr: String,
pub cells: Option<Vec<CommandCheckCellResult>>,
}Expand description
The schema-gated intermediate result persisted before finalize converts it
into a normal crate::core::AssertionResult.
Fields§
§id: String§passed: bool§evidence: String§expected_exit_code: i32§actual_exit_code: Option<i32>§stdout: String§stderr: String§cells: Option<Vec<CommandCheckCellResult>>Trait Implementations§
Source§impl Clone for CommandCheckResult
impl Clone for CommandCheckResult
Source§fn clone(&self) -> CommandCheckResult
fn clone(&self) -> CommandCheckResult
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 CommandCheckResult
impl Debug for CommandCheckResult
Source§impl<'de> Deserialize<'de> for CommandCheckResult
impl<'de> Deserialize<'de> for CommandCheckResult
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
impl Eq for CommandCheckResult
Source§impl PartialEq for CommandCheckResult
impl PartialEq for CommandCheckResult
Source§impl Serialize for CommandCheckResult
impl Serialize for CommandCheckResult
impl StructuralPartialEq for CommandCheckResult
Auto Trait Implementations§
impl Freeze for CommandCheckResult
impl RefUnwindSafe for CommandCheckResult
impl Send for CommandCheckResult
impl Sync for CommandCheckResult
impl Unpin for CommandCheckResult
impl UnsafeUnpin for CommandCheckResult
impl UnwindSafe for CommandCheckResult
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.