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