pub struct ConformanceRunReport {
pub scenario: String,
pub actual_trace: Vec<ConformanceTraceEvent>,
pub mismatches: Vec<ConformanceTraceMismatch>,
}Fields§
§scenario: String§actual_trace: Vec<ConformanceTraceEvent>§mismatches: Vec<ConformanceTraceMismatch>Implementations§
Source§impl ConformanceRunReport
impl ConformanceRunReport
pub fn new( scenario: impl Into<String>, actual_trace: Vec<ConformanceTraceEvent>, expected_trace: &[ConformanceTraceEvent], ) -> Self
pub fn is_match(&self) -> bool
pub fn actual_trace(&self) -> &[ConformanceTraceEvent]
pub fn mismatches(&self) -> &[ConformanceTraceMismatch]
Trait Implementations§
Source§impl Clone for ConformanceRunReport
impl Clone for ConformanceRunReport
Source§fn clone(&self) -> ConformanceRunReport
fn clone(&self) -> ConformanceRunReport
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 ConformanceRunReport
impl Debug for ConformanceRunReport
Source§impl<'de> Deserialize<'de> for ConformanceRunReport
impl<'de> Deserialize<'de> for ConformanceRunReport
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
Source§impl Display for ConformanceRunReport
impl Display for ConformanceRunReport
Auto Trait Implementations§
impl Freeze for ConformanceRunReport
impl RefUnwindSafe for ConformanceRunReport
impl Send for ConformanceRunReport
impl Sync for ConformanceRunReport
impl Unpin for ConformanceRunReport
impl UnsafeUnpin for ConformanceRunReport
impl UnwindSafe for ConformanceRunReport
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