qubit_redact/policy/field_match_kind.rs
1// =============================================================================
2// Copyright (c) 2025 - 2026 Haixing Hu.
3//
4// SPDX-License-Identifier: Apache-2.0
5//
6// Licensed under the Apache License, Version 2.0.
7// =============================================================================
8//! The canonical field-name candidate selected by policy classification.
9
10/// Identifies the candidate that matched a configured field rule.
11#[must_use]
12#[non_exhaustive]
13#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
14pub enum FieldMatchKind {
15 /// The complete canonical input field name matched.
16 Exact,
17 /// A semantic token suffix of the input field name matched.
18 TokenSuffix,
19}