It would be nice to have a way to see e.g. what URLs are matched or what the rules are. Part of this could just be a Debug impl on Mock that prints the fields of RequestRequirements that are Some in a nice way.
Maybe MockServer could have a fn (&self) -> impl Iterator<Item=&Mock> somehow? I am less sure how those are stored internally.
It would be nice to have a way to see e.g. what URLs are matched or what the rules are. Part of this could just be a
Debug
impl onMock
that prints the fields ofRequestRequirements
that areSome
in a nice way.Maybe
MockServer
could have afn (&self) -> impl Iterator<Item=&Mock>
somehow? I am less sure how those are stored internally.