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)

Tuple Fields

0: String

Ident(ResourceIdentity)

Tuple Fields

Url(GraphUrl)

Tuple Fields

Method(Method)

Tuple Fields

0: Method

Body(Body)

Tuple Fields

0: Body

BodyFile(PathBuf)

Tuple Fields

Headers(HeaderMap)

Tuple Fields

ClearHeaders

Download(PathBuf)

Tuple Fields

Upload(PathBuf)

Tuple Fields

Form(Form)

Tuple Fields

0: Form

RequestType(RequestType)

Tuple Fields

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more