Struct mock_proxy::Mock [−][src]
Expand description
The struct used to define mock responses
Fields
path: String
method: String
response: Response
Implementations
Reads the response body from disk
Sets the response body to anything with Into<json::JsonValue>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Mock
impl UnwindSafe for Mock
Blanket Implementations
Mutably borrows from an owned value. Read more