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