pub struct Stage1Result {
pub case: Stage1Case,
pub outcome: CaseOutcome,
}Fields§
§case: Stage1Case§outcome: CaseOutcomeImplementations§
Source§impl Stage1Result
impl Stage1Result
pub fn passed(case: Stage1Case) -> Stage1Result
Sourcepub fn failed(case: Stage1Case, reason: &str) -> Stage1Result
pub fn failed(case: Stage1Case, reason: &str) -> Stage1Result
A failed case, its reason cut to MAX_TEXT_BYTES.
Trait Implementations§
Source§impl Clone for Stage1Result
impl Clone for Stage1Result
Source§impl Debug for Stage1Result
impl Debug for Stage1Result
Source§impl<'de> Deserialize<'de> for Stage1Result
impl<'de> Deserialize<'de> for Stage1Result
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 Stage1Result
Source§impl PartialEq for Stage1Result
impl PartialEq for Stage1Result
Source§impl Serialize for Stage1Result
impl Serialize for Stage1Result
impl StructuralPartialEq for Stage1Result
Auto Trait Implementations§
impl Freeze for Stage1Result
impl RefUnwindSafe for Stage1Result
impl Send for Stage1Result
impl Sync for Stage1Result
impl Unpin for Stage1Result
impl UnsafeUnpin for Stage1Result
impl UnwindSafe for Stage1Result
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