pub fn is_authorization_pending_exception(&self) -> bool {
        matches!(
            &self.kind,
            CreateTokenErrorKind::AuthorizationPendingException(_)
        )
    }
/// Returns `true` if the error kind is `CreateTokenErrorKind::AuthorizationPendingException`.
Returns `true` if the error kind is `CreateTokenErrorKind::AuthorizationPendingException`.
Returns ` true ` if the error kind is ` CreateTokenErrorKind :: AuthorizationPendingException ` .
pub fn is_authorization_pending_exception(&self) -> bool {
        matches!(
            &self.kind,
            CreateTokenErrorKind::AuthorizationPendingException(_)
        )
    }
pub fn is_authorization_pending_exception ( & self ) -> bool { matches ! ( self kind CreateTokenErrorKind AuthorizationPendingException ( ) ) }
Returns `true` if the error kind is `CreateTokenErrorKind::AuthorizationPendingException`.
Returns ` true ` if the error kind is ` CreateTokenErrorKind :: AuthorizationPendingException ` .
&self
&self