#[non_exhaustive]pub struct AuthRevokeRequest {
pub test: Option<bool>,
}Expand description
Arguments for the Slack Web API method auth.revoke: Revokes a token.
Send it with SlackClient::auth_revoke.
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.test: Option<bool>Setting this parameter to 1 triggers a testing mode where the specified token will not actually be revoked.
Implementations§
Trait Implementations§
Source§impl Clone for AuthRevokeRequest
impl Clone for AuthRevokeRequest
Source§impl Debug for AuthRevokeRequest
impl Debug for AuthRevokeRequest
Source§impl Default for AuthRevokeRequest
impl Default for AuthRevokeRequest
Source§impl PartialEq for AuthRevokeRequest
impl PartialEq for AuthRevokeRequest
Source§impl Serialize for AuthRevokeRequest
impl Serialize for AuthRevokeRequest
Source§impl SlackApiMethod for AuthRevokeRequest
impl SlackApiMethod for AuthRevokeRequest
impl StructuralPartialEq for AuthRevokeRequest
Auto Trait Implementations§
impl Freeze for AuthRevokeRequest
impl RefUnwindSafe for AuthRevokeRequest
impl Send for AuthRevokeRequest
impl Sync for AuthRevokeRequest
impl Unpin for AuthRevokeRequest
impl UnsafeUnpin for AuthRevokeRequest
impl UnwindSafe for AuthRevokeRequest
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