Function httptest::matchers::value [−][src]
pub fn value<M>(inner: M) -> Value<M>
extract the value from a key-value pair.
Example
use httptest::matchers::*; // A request matcher that matches any query parameter with the value `foobar`. request::query(url_decoded(contains(value("foobar"))));