qubit-redact 0.3.0

Rule-driven redaction for fields, diagnostics, HTTP data, and Rust domain objects
Documentation
// =============================================================================
//    Copyright (c) 2025 - 2026 Haixing Hu.
//
//    SPDX-License-Identifier: Apache-2.0
//
//    Licensed under the Apache License, Version 2.0.
// =============================================================================
//! The canonical field-name candidate selected by policy classification.

/// Identifies the candidate that matched a configured field rule.
#[must_use]
#[non_exhaustive]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum FieldMatchKind {
    /// The complete canonical input field name matched.
    Exact,
    /// A semantic token suffix of the input field name matched.
    TokenSuffix,
}