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