pub struct SentRequest {
pub method: Method,
pub uri: Uri,
pub headers: HeaderMap,
pub body: Vec<u8>,
pub trailers: Option<HeaderMap>,
pub options: SendOptions,
}Expand description
A request the app sent, as the client kept it.
Fields§
§method: Method§uri: Uri§headers: HeaderMap§body: Vec<u8>§trailers: Option<HeaderMap>The fields the request was made to send after its body, which a test’s client has nowhere to send and so keeps.
options: SendOptionsTrait Implementations§
Source§impl Clone for SentRequest
impl Clone for SentRequest
Source§impl Debug for SentRequest
impl Debug for SentRequest
Source§impl PartialEq for SentRequest
impl PartialEq for SentRequest
impl StructuralPartialEq for SentRequest
Auto Trait Implementations§
impl !Freeze for SentRequest
impl Forget for SentRequest
impl Move for SentRequest
impl RefUnwindSafe for SentRequest
impl Send for SentRequest
impl Sync for SentRequest
impl Unpin for SentRequest
impl UnsafeUnpin for SentRequestwhere
*const [u8] is !null: UnsafeUnpin,
PhantomData<[u8]>: UnsafeUnpin,
*const ByteStr is !null: UnsafeUnpin,
PhantomData<ByteStr>: UnsafeUnpin,
*const u8: UnsafeUnpin,
Align8<*mut ()>: UnsafeUnpin,
&'static Vtable: UnsafeUnpin,
*const [Pos] is !null: UnsafeUnpin,
PhantomData<[Pos]>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Bucket<HeaderValue>>: UnsafeUnpin,
PhantomData<ExtraValue<HeaderValue>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for SentRequestwhere
BoxRaw<[u8]>: UnwindSafe,
BoxRaw<ByteStr>: UnwindSafe,
*const u8: UnwindSafe,
Align8<*mut ()>: UnwindSafe,
&'static Vtable: UnwindSafe,
BoxRaw<[Pos]>: UnwindSafe,
RawVecInner: UnwindSafe,
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