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