pub enum AssertionRule {
Response(ResponseAssertion),
Sequence(SequenceAssertion),
}Expand description
A single assertion rule in the JSON DSL.
Variants§
Response(ResponseAssertion)
Assertions evaluated against each tool response.
Sequence(SequenceAssertion)
Assertions evaluated against the full run sequence.
Trait Implementations§
Source§impl Clone for AssertionRule
impl Clone for AssertionRule
Source§fn clone(&self) -> AssertionRule
fn clone(&self) -> AssertionRule
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 moreSource§impl Debug for AssertionRule
impl Debug for AssertionRule
Source§impl<'de> Deserialize<'de> for AssertionRule
impl<'de> Deserialize<'de> for AssertionRule
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 AssertionRule
impl RefUnwindSafe for AssertionRule
impl Send for AssertionRule
impl Sync for AssertionRule
impl Unpin for AssertionRule
impl UnsafeUnpin for AssertionRule
impl UnwindSafe for AssertionRule
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