pub struct AssertionStep {
pub sentence: AssertionSentence,
pub passed: bool,
pub logical_op: Option<LogicalOp>,
}
Expand description
Represents a step in an assertion chain
Fields§
§sentence: AssertionSentence
The assertion sentence components
passed: bool
Whether this step passed
logical_op: Option<LogicalOp>
The logical operation connecting this step to the next one
Trait Implementations§
Source§impl Clone for AssertionStep
impl Clone for AssertionStep
Source§fn clone(&self) -> AssertionStep
fn clone(&self) -> AssertionStep
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for AssertionStep
impl RefUnwindSafe for AssertionStep
impl Send for AssertionStep
impl Sync for AssertionStep
impl Unpin for AssertionStep
impl UnwindSafe for AssertionStep
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