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