[][src]Struct confetti::Conn

pub struct Conn {
    pub host: String,
    pub method: Method,
    pub port: u16,
    pub scheme: String,
    pub path: String,
    pub query_string: String,
    pub req_body: String,
    pub req_headers: HashMap<String, String>,
    pub cf: HashMap<String, String>,
    pub resp_body: String,
    pub resp_headers: HashMap<String, String>,
    pub status: u16,
    pub assigns: HashMap<String, String>,
    pub halted: bool,
}

Fields

host: Stringmethod: Methodport: u16scheme: Stringpath: Stringquery_string: Stringreq_body: Stringreq_headers: HashMap<String, String>cf: HashMap<String, String>resp_body: Stringresp_headers: HashMap<String, String>status: u16assigns: HashMap<String, String>halted: bool

Auto Trait Implementations

impl RefUnwindSafe for Conn

impl Send for Conn

impl Sync for Conn

impl Unpin for Conn

impl UnwindSafe for Conn

Blanket Implementations

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

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

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

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.