// =============================================================================
// Copyright (c) 2025 - 2026 Haixing Hu.
//
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0.
// =============================================================================
//! Field-name matching modes used by redaction policies.
/// Controls which canonical field-name candidates may match policy rules.
#[must_use]
#[non_exhaustive]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum FieldNameMatching {
/// Matches only the complete canonical field name.
Exact,
/// Matches the complete name and semantic token suffixes.
ExactOrTokenSuffix,
}