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