#[non_exhaustive]pub struct OauthV2ExchangeRequest {
pub client_id: String,
pub client_secret: String,
}Expand description
Arguments for the Slack Web API method oauth.v2.exchange: Exchanges a legacy access token for a new expiring access token and refresh token
Send it with SlackClient::oauth_v2_exchange.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.client_id: StringIssued when you created your application.
client_secret: StringIssued when you created your application.
Implementations§
Trait Implementations§
Source§impl Clone for OauthV2ExchangeRequest
impl Clone for OauthV2ExchangeRequest
Source§impl Debug for OauthV2ExchangeRequest
impl Debug for OauthV2ExchangeRequest
Source§impl PartialEq for OauthV2ExchangeRequest
impl PartialEq for OauthV2ExchangeRequest
Source§impl Serialize for OauthV2ExchangeRequest
impl Serialize for OauthV2ExchangeRequest
impl StructuralPartialEq for OauthV2ExchangeRequest
Auto Trait Implementations§
impl Freeze for OauthV2ExchangeRequest
impl RefUnwindSafe for OauthV2ExchangeRequest
impl Send for OauthV2ExchangeRequest
impl Sync for OauthV2ExchangeRequest
impl Unpin for OauthV2ExchangeRequest
impl UnsafeUnpin for OauthV2ExchangeRequest
impl UnwindSafe for OauthV2ExchangeRequest
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