Enum graph_http::RequestAttribute
source ·
[−]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
0: GraphUrl
Method(Method)
Tuple Fields
0: Method
Body(Body)
BodyFile(PathBuf)
Tuple Fields
0: PathBuf
Headers(HeaderMap)
Tuple Fields
0: HeaderMap
ClearHeaders
Download(PathBuf)
Tuple Fields
0: PathBuf
Upload(PathBuf)
Tuple Fields
0: PathBuf
Form(Form)
RequestType(RequestType)
Tuple Fields
0: RequestType
Auto Trait Implementations
impl<Body, Form> RefUnwindSafe for RequestAttribute<Body, Form> where
Body: RefUnwindSafe,
Form: RefUnwindSafe,
impl<Body, Form> Send for RequestAttribute<Body, Form> where
Body: Send,
Form: Send,
impl<Body, Form> Sync for RequestAttribute<Body, Form> where
Body: Sync,
Form: Sync,
impl<Body, Form> Unpin for RequestAttribute<Body, Form> where
Body: Unpin,
Form: Unpin,
impl<Body, Form> UnwindSafe for RequestAttribute<Body, Form> where
Body: UnwindSafe,
Form: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
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