[][src]Function httptest::mappers::contains

pub fn contains<M>(inner: M) -> Contains<M>

true if any input element matches the provided mapper.

This works on slices of elements. Each element is handed to the provided mapper until the mapper returns true for one, false if no elements evaulate to true.

Look at matches() if substring matching is what want.