pub struct RawRequest {
pub method: String,
pub path: String,
pub headers: HeaderMap,
pub body: Bytes,
pub connection_meta: Arc<ConnectionMeta>,
}Expand description
An intercepted HTTP request passed to the handler.
Fields§
§method: String§path: String§headers: HeaderMap§body: Bytes§connection_meta: Arc<ConnectionMeta>Trait Implementations§
Source§impl Clone for RawRequest
impl Clone for RawRequest
Source§fn clone(&self) -> RawRequest
fn clone(&self) -> RawRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RawRequest
impl Debug for RawRequest
Source§impl PartialEq for RawRequest
impl PartialEq for RawRequest
impl Eq for RawRequest
impl StructuralPartialEq for RawRequest
Auto Trait Implementations§
impl !Freeze for RawRequest
impl RefUnwindSafe for RawRequest
impl Send for RawRequest
impl Sync for RawRequest
impl Unpin for RawRequest
impl UnsafeUnpin for RawRequest
impl UnwindSafe for RawRequest
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.