#[non_exhaustive]pub struct OauthV2CompleteShortTokenRotationRequest {
pub client_id: String,
pub client_secret: String,
pub new_token: String,
}Expand description
Arguments for the Slack Web API method oauth.v2.completeShortTokenRotation: Finishes rotating the secret on an API token with a short secret.
Send it with SlackClient::oauth_v2_complete_short_token_rotation.
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. Must be the app the token being rotated was issued to.
client_secret: StringIssued when you created your application.
new_token: StringThe new xoxp token returned by oauth.v2.beginShortTokenRotation.
Implementations§
Trait Implementations§
impl StructuralPartialEq for OauthV2CompleteShortTokenRotationRequest
Auto Trait Implementations§
impl Freeze for OauthV2CompleteShortTokenRotationRequest
impl RefUnwindSafe for OauthV2CompleteShortTokenRotationRequest
impl Send for OauthV2CompleteShortTokenRotationRequest
impl Sync for OauthV2CompleteShortTokenRotationRequest
impl Unpin for OauthV2CompleteShortTokenRotationRequest
impl UnsafeUnpin for OauthV2CompleteShortTokenRotationRequest
impl UnwindSafe for OauthV2CompleteShortTokenRotationRequest
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