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