Struct thruster::testing::TestResponse
source · [−]pub struct TestResponse {
pub body: String,
pub headers: HashMap<String, String>,
pub status: (String, u32),
}
Fields
body: String
headers: HashMap<String, String>
status: (String, u32)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TestResponse
impl Send for TestResponse
impl Sync for TestResponse
impl Unpin for TestResponse
impl UnwindSafe for TestResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more