Struct wrangler::preview::RequestPayload[][src]

pub struct RequestPayload {
    pub method: HttpMethod,
    pub https: u8,
    pub session: String,
    pub protocol: String,
    pub domain: String,
    pub path: String,
    pub query: String,
    pub browser_url: String,
    pub service_url: String,
    pub body: Option<String>,
}

Fields

method: HttpMethodhttps: u8session: Stringprotocol: Stringdomain: Stringpath: Stringquery: Stringbrowser_url: Stringservice_url: Stringbody: Option<String>

Implementations

impl RequestPayload[src]

pub fn create(
    method: HttpMethod,
    url: Url,
    body: Option<String>
) -> RequestPayload
[src]

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

Auto Trait Implementations

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>,