pub enum Test {
Exists(bool),
Count {
min: Option<u64>,
max: Option<u64>,
},
Equals(Value),
ContainsAny(Vec<String>),
Json(bool),
Schema {
schema: Value,
parse: bool,
},
}Variants§
Exists(bool)
Count
Equals(Value)
ContainsAny(Vec<String>)
Json(bool)
Every match is a string holding valid JSON (or not).
Schema
Every match (parsed from a string when parse) validates against the schema.
Trait Implementations§
impl StructuralPartialEq for Test
Auto Trait Implementations§
impl Forget for Test
impl Freeze for Test
impl RefUnwindSafe for Test
impl Send for Test
impl Sync for Test
impl Unpin for Test
impl UnsafeUnpin for Test
impl UnwindSafe for Test
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