Struct wiremock::MockBuilder [−][src]
pub struct MockBuilder { /* fields omitted */ }
Expand description
A fluent builder to construct a Mock
instance given matchers and a ResponseTemplate
.
Implementations
Establish what ResponseTemplate
should be used to generate a response when an incoming
request matches.
respond_with
finalises the MockBuilder
and returns you a Mock
instance, ready to
be register
ed or mount
ed on a MockServer
!
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for MockBuilder
impl Send for MockBuilder
impl Sync for MockBuilder
impl Unpin for MockBuilder
impl !UnwindSafe for MockBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more