Function httptest::matchers::not [−][src]
pub fn not<M>(inner: M) -> Not<M>
invert the result of the inner mapper.
Example
use httptest::matchers::*; // A request matcher that matches if there is no `foobar` query parameter. request::query(url_decoded(not(contains(key("foobar")))));