pub struct SlackOAuthV2AccessTokenResponseInit {
pub access_token: SlackApiTokenValue,
pub token_type: SlackApiTokenType,
pub scope: SlackApiTokenScope,
pub app_id: SlackAppId,
pub team: SlackTeamInfo,
pub authed_user: SlackOAuthV2AuthedUser,
}Expand description
Required fields of SlackOAuthV2AccessTokenResponse; convert with SlackOAuthV2AccessTokenResponse::from or .into().
Fields§
§access_token: SlackApiTokenValueValue for the access_token field of SlackOAuthV2AccessTokenResponse.
token_type: SlackApiTokenTypeValue for the token_type field of SlackOAuthV2AccessTokenResponse.
scope: SlackApiTokenScopeValue for the scope field of SlackOAuthV2AccessTokenResponse.
app_id: SlackAppIdValue for the app_id field of SlackOAuthV2AccessTokenResponse.
team: SlackTeamInfoValue for the team field of SlackOAuthV2AccessTokenResponse.
authed_user: SlackOAuthV2AuthedUserValue for the authed_user field of SlackOAuthV2AccessTokenResponse.
Trait Implementations§
Source§impl From<SlackOAuthV2AccessTokenResponseInit> for SlackOAuthV2AccessTokenResponse
impl From<SlackOAuthV2AccessTokenResponseInit> for SlackOAuthV2AccessTokenResponse
Source§fn from(value: SlackOAuthV2AccessTokenResponseInit) -> Self
fn from(value: SlackOAuthV2AccessTokenResponseInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackOAuthV2AccessTokenResponseInit
impl RefUnwindSafe for SlackOAuthV2AccessTokenResponseInit
impl Send for SlackOAuthV2AccessTokenResponseInit
impl Sync for SlackOAuthV2AccessTokenResponseInit
impl Unpin for SlackOAuthV2AccessTokenResponseInit
impl UnsafeUnpin for SlackOAuthV2AccessTokenResponseInit
impl UnwindSafe for SlackOAuthV2AccessTokenResponseInit
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