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