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