Skip to main content

qubit_redact/
pass_through_reason.rs

1// =============================================================================
2//    Copyright (c) 2026 Haixing Hu.
3//
4//    SPDX-License-Identifier: Apache-2.0
5//
6//    Licensed under the Apache License, Version 2.0.
7// =============================================================================
8// qubit-style: allow source-test-pair
9//! Reasons a field value was retained without masking.
10
11/// Reason a field value was retained without masking.
12#[must_use]
13#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
14pub enum PassThroughReason {
15    /// An application allow rule permitted the field.
16    Allowed,
17    /// No rule classified the field and the fallback is pass-through.
18    Unknown,
19}