#[non_exhaustive]pub struct OauthV2BeginShortTokenRotationRequest {
pub client_id: String,
pub client_secret: String,
}Expand description
Arguments for the Slack Web API method oauth.v2.beginShortTokenRotation: Begins rotating the secret on an API token with a short secret.
Send it with SlackClient::oauth_v2_begin_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.
Implementations§
Trait Implementations§
impl StructuralPartialEq for OauthV2BeginShortTokenRotationRequest
Auto Trait Implementations§
impl Freeze for OauthV2BeginShortTokenRotationRequest
impl RefUnwindSafe for OauthV2BeginShortTokenRotationRequest
impl Send for OauthV2BeginShortTokenRotationRequest
impl Sync for OauthV2BeginShortTokenRotationRequest
impl Unpin for OauthV2BeginShortTokenRotationRequest
impl UnsafeUnpin for OauthV2BeginShortTokenRotationRequest
impl UnwindSafe for OauthV2BeginShortTokenRotationRequest
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