[][src]Struct tus_client::http::HttpRequest

pub struct HttpRequest<'a> {
    pub method: HttpMethod,
    pub headers: Headers,
    pub url: String,
    pub body: Option<&'a [u8]>,
}

Represents an HTTP request to be executed by the handler.

Fields

method: HttpMethodheaders: Headersurl: Stringbody: Option<&'a [u8]>

Trait Implementations

impl<'a> Debug for HttpRequest<'a>[src]

Auto Trait Implementations

impl<'a> Sync for HttpRequest<'a>

impl<'a> Send for HttpRequest<'a>

impl<'a> Unpin for HttpRequest<'a>

impl<'a> RefUnwindSafe for HttpRequest<'a>

impl<'a> UnwindSafe for HttpRequest<'a>

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]