pub struct FakeResponse {
pub status: Status,
pub headers: Headers,
pub body: Vec<u8>,
}Expand description
A scripted answer.
Fields§
§status: Status§headers: Headers§body: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for FakeResponse
impl Clone for FakeResponse
Auto Trait Implementations§
impl Freeze for FakeResponse
impl RefUnwindSafe for FakeResponse
impl Send for FakeResponse
impl Sync for FakeResponse
impl Unpin for FakeResponse
impl UnsafeUnpin for FakeResponse
impl UnwindSafe for FakeResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more