pub struct OauthV2AccessRequest<'a> {
pub client_id: &'a str,
pub client_secret: &'a str,
pub grant_type: &'a str,
pub redirect_uri: &'a str,
pub code: &'a str,
}Expand description
The type that represents a request of oauth.v2.access.
https://api.slack.com/methods/oauth.v2.access
TODO: add refresh_token.
Fields§
§client_id: &'a str§client_secret: &'a str§grant_type: &'a strThe grant_type param as described in the OAuth spec.
https://api.slack.com/methods/oauth.v2.access#arg_grant_type
redirect_uri: &'a strThis must match the originally submitted URI (if one was sent).
https://api.slack.com/methods/oauth.v2.access#arg_redirect_uri
code: &'a strThe code param returned via the OAuth callback.
Trait Implementations§
Source§impl<'a> Debug for OauthV2AccessRequest<'a>
impl<'a> Debug for OauthV2AccessRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for OauthV2AccessRequest<'a>
impl<'a> RefUnwindSafe for OauthV2AccessRequest<'a>
impl<'a> Send for OauthV2AccessRequest<'a>
impl<'a> Sync for OauthV2AccessRequest<'a>
impl<'a> Unpin for OauthV2AccessRequest<'a>
impl<'a> UnwindSafe for OauthV2AccessRequest<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more