pub struct ConformanceOutcome {
pub passed: bool,
pub detail: Option<String>,
pub status: ConformanceStatus,
}Expand description
Result of running one ConformanceTestCase: pass, fail, or declared gap
with optional detail.
Fields§
§passed: boolWhether the check passed.
detail: Option<String>Optional failure detail.
status: ConformanceStatusExact status used by matrix runners and claim publication.
Implementations§
Source§impl ConformanceOutcome
impl ConformanceOutcome
Sourcepub fn status_symbol(&self) -> Symbol
pub fn status_symbol(&self) -> Symbol
Returns the standard status symbol for this outcome.
Trait Implementations§
Source§impl Clone for ConformanceOutcome
impl Clone for ConformanceOutcome
Source§fn clone(&self) -> ConformanceOutcome
fn clone(&self) -> ConformanceOutcome
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 ConformanceOutcome
impl Debug for ConformanceOutcome
impl Eq for ConformanceOutcome
Source§impl PartialEq for ConformanceOutcome
impl PartialEq for ConformanceOutcome
Source§fn eq(&self, other: &ConformanceOutcome) -> bool
fn eq(&self, other: &ConformanceOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConformanceOutcome
Auto Trait Implementations§
impl Freeze for ConformanceOutcome
impl RefUnwindSafe for ConformanceOutcome
impl Send for ConformanceOutcome
impl Sync for ConformanceOutcome
impl Unpin for ConformanceOutcome
impl UnsafeUnpin for ConformanceOutcome
impl UnwindSafe for ConformanceOutcome
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.