pub struct SampleVerdict {
pub pass: bool,
pub reason: String,
pub answer: Option<String>,
}Expand description
One sample’s verdict, kept in CaseResult::samples_detail so a flaky case’s individual
sample-by-sample results (which ones failed, and why) survive past the aggregate.
Fields§
§pass: bool§reason: String§answer: Option<String>Trait Implementations§
Source§impl Clone for SampleVerdict
impl Clone for SampleVerdict
Source§impl Debug for SampleVerdict
impl Debug for SampleVerdict
Source§impl<'de> Deserialize<'de> for SampleVerdict
impl<'de> Deserialize<'de> for SampleVerdict
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
Auto Trait Implementations§
impl Freeze for SampleVerdict
impl RefUnwindSafe for SampleVerdict
impl Send for SampleVerdict
impl Sync for SampleVerdict
impl Unpin for SampleVerdict
impl UnsafeUnpin for SampleVerdict
impl UnwindSafe for SampleVerdict
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