[][src]Struct waxosuit_codec::http::Request

pub struct Request {
    pub method: String,
    pub path: String,
    pub query_string: String,
    pub header: HashMap<String, String>,
    pub body: Vec<u8>,
}

Describes an HTTP request received by the HTTP server capability provider

Fields

method: String

Request method (e.g. GET, PUT, POST, etc)

path: String

Full path of the request

query_string: String

Query string of the request

header: HashMap<String, String>

Headers

body: Vec<u8>

Body of the received request

Trait Implementations

impl<'_> Into<Request> for &'_ [u8][src]

impl Clone for Request[src]

impl Default for Request[src]

impl PartialEq<Request> for Request[src]

impl Debug for Request[src]

impl StructuralPartialEq for Request[src]

impl Message for Request[src]

Auto Trait Implementations

impl Send for Request

impl Sync for Request

impl Unpin for Request

impl UnwindSafe for Request

impl RefUnwindSafe for Request

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]