[][src]Struct rusty_express::prelude::Request

pub struct Request {
    pub method: REST,
    pub uri: String,
    // some fields omitted
}

Fields

method: RESTuri: String

Methods

impl Request[src]

pub fn new() -> Self[src]

pub fn header(&self, field: &str) -> Option<String>[src]

pub fn keep_alive(&self) -> bool[src]

pub fn cookie(&self, key: &str) -> Option<String>[src]

pub fn cookie_iter(&self) -> Iter<String, String>[src]

pub fn scheme(&self, field: &str) -> Option<Vec<String>>[src]

pub fn uri_fragment(&self) -> String[src]

pub fn param(&self, key: &str) -> Option<String>[src]

pub fn param_iter(&self) -> Iter<String, String>[src]

pub fn client_info(&self) -> Option<SocketAddr>[src]

pub fn host_info(&self) -> String[src]

#[must_use] pub fn form_data(&self) -> HashMap<String, String>[src]

pub fn json(&self) -> String[src]

Trait Implementations

impl RequestWriter for Request[src]

impl Default for Request[src]

Auto Trait Implementations

impl Sync for Request

impl Send for Request

impl Unpin for Request

impl RefUnwindSafe for Request

impl UnwindSafe 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, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T