qubit-redact 0.4.0

Rule-driven redaction for fields, diagnostics, HTTP data, and Rust domain objects
Documentation
// =============================================================================
//    Copyright (c) 2026 Haixing Hu.
//
//    SPDX-License-Identifier: Apache-2.0
//
//    Licensed under the Apache License, Version 2.0.
// =============================================================================
//! Complete private construction state for an HTTP redaction policy.
// qubit-style: allow type-file-name

use crate::RedactionRules;

use super::{
    TextBodyPolicy,
    UrlPathPolicy,
};

/// Complete private construction state for an HTTP redaction policy.
pub(super) struct HttpPolicyParts {
    pub(super) header_rules: RedactionRules,
    pub(super) query_rules: RedactionRules,
    pub(super) body_rules: RedactionRules,
    pub(super) url_path_policy: UrlPathPolicy,
    pub(super) text_body_policy: TextBodyPolicy,
}