[][src]Enum graph_http::RequestAttribute

pub enum RequestAttribute<Body, Form> {
    Token(String),
    Ident(ResourceIdentity),
    Url(GraphUrl),
    Method(Method),
    Body(Body),
    BodyFile(PathBuf),
    Headers(HeaderMap),
    ClearHeaders,
    Download(PathBuf),
    Upload(PathBuf),
    Form(Form),
    RequestType(RequestType),
}

Variants

Token(String)
Method(Method)
Body(Body)
BodyFile(PathBuf)
Headers(HeaderMap)
ClearHeaders
Download(PathBuf)
Upload(PathBuf)
Form(Form)
RequestType(RequestType)

Auto Trait Implementations

impl<Body, Form> RefUnwindSafe for RequestAttribute<Body, Form> where
    Body: RefUnwindSafe,
    Form: RefUnwindSafe
[src]

impl<Body, Form> Send for RequestAttribute<Body, Form> where
    Body: Send,
    Form: Send
[src]

impl<Body, Form> Sync for RequestAttribute<Body, Form> where
    Body: Sync,
    Form: Sync
[src]

impl<Body, Form> Unpin for RequestAttribute<Body, Form> where
    Body: Unpin,
    Form: Unpin
[src]

impl<Body, Form> UnwindSafe for RequestAttribute<Body, Form> where
    Body: UnwindSafe,
    Form: UnwindSafe
[src]

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, 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.