Structs§
- Candidate
- Candidate PII span emitted by a recognizer before final conflict resolution.
- Codec
Audit Row - Metadata-only audit row emitted by a document codec.
- Codec
Capability Set - Orthogonal document codec capabilities delivered or advertised by a codec.
- Detect
Context - Context supplied to recognizers during detection.
- Detection
- A detected span and its class/source metadata.
- Dictionary
Bundle - Value-only dictionary bundle shared with recognizers.
- Dictionary
Entry - Value-only dictionary entry; compiled automatons live outside
gaze-types. - Dictionary
Stats - Dictionary metadata used for diagnostics and tests.
- Document
Extension - Signed document-context metadata carried inside a session snapshot envelope.
- Document
Extension Builder - Builder for
DocumentExtensionthat requires signed integrity-binding fields. - Emitted
Token Span - A replacement emitted by the pseudonymization pipeline.
- Leak
Report - A suspected missed PII span reported by a
SafetyNet. - Leak
Report Stats - Aggregate leak report statistics.
- Leak
Suspect - Suspected leak reported by an observer-only safety net.
- Locale
Chain - Ordered locale fallback chain.
- Manifest
- Set of emitted token spans for one clean text segment.
- Redaction
Entry - One row of redaction metadata emitted to a
RedactionLogger. - Rulepack
Dict - Dictionary declared by a rulepack.
- Safety
NetContext - Context passed to a privacy safety net.
Enums§
- Action
- Disposition applied to a detected PII span.
- Clean
Document - The pseudonymized output from
Pipeline::redact. - Conflict
Tier - Conflict resolution tier that selected or rejected a candidate.
- Dictionary
Load Error - Error raised when constructing invalid dictionary entries.
- Dictionary
Source - Source of a dictionary entry.
- Document
Extension Error - Errors returned while building a
DocumentExtension. - Document
Kind - Source document kind for metadata-only audit logging.
- Extraction
Density Policy - Per-codec declaration for text extraction density checks.
- Leak
Kind - The category of a suspected missed PII span.
- Leak
Report Telemetry - Bytes-free telemetry emitted by safety-net orchestration.
- Locale
Error - Locale parsing error.
- Locale
Tag - Locale tag recognized by policy and recognizers.
- Open
AiPrivate Label - Closed set of upstream OpenAI Privacy Filter labels accepted by Gaze.
- PiiClass
- The category of a detected PII span.
- RawDocument
- The input document submitted for pseudonymization.
- Redaction
LogError - Closed error set for redaction log sinks.
- Safety
NetError - Exhaustive, closed error set for safety-net execution.
- Safety
NetPii Class - Closed safety-net PII vocabulary before mapping into
PiiClass. - Text
Origin - Provenance of text extracted from a document or transcript source.
- Value
- Minimal structured value representation that avoids a serde_json dependency.
Constants§
- BUILTIN_
CLASS_ NAMES - Built-in class labels in stable display order.
Traits§
- Detector
- Shared detector contract for text-only PII detection.
- Recognizer
- Shared recognizer contract for locale-aware PII candidates.
- Redaction
Logger - Trait for audit sinks that receive redaction metadata.
- Safety
Net - Observer-only post-clean check (Pass 3 in the detection pipeline).