Enum graph_rs_sdk::http::RequestAttribute
source · [−]pub enum RequestAttribute<Body, Form> {
Token(String),
Ident(ResourceIdentity),
Url(GraphUrl),
Method(Method),
Body(Body),
BodyFile(PathBuf),
Headers(HeaderMap<HeaderValue>),
ClearHeaders,
Download(PathBuf),
Upload(PathBuf),
Form(Form),
RequestType(RequestType),
}Variants
Token(String)
Ident(ResourceIdentity)
Url(GraphUrl)
Method(Method)
Body(Body)
BodyFile(PathBuf)
Headers(HeaderMap<HeaderValue>)
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,
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
Instruments this type with the provided Span, returning an
Instrumented wrapper. 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