Skip to main content Crate ranvier_compliance Copy item path Source ErasureRequest A request to erase personal data for a specific subject. ErasureResult Result of processing an erasure request. FieldNamePiiDetector Detects PII in field names using pattern matching. InMemoryErasureSink In-memory erasure sink for testing. NoOpEncryption No-op encryption hook that passes data through unchanged. PiiField A detected PII field with its classification. Sensitive A wrapper for sensitive data indicating it falls under GDPR or HIPAA compliance scope.
The inner data is strictly prevented from being debug-printed or logged by default. XorEncryption XOR-based encryption hook for testing/demo purposes.
NOT SUITABLE FOR PRODUCTION — use AES-GCM or similar for real encryption. ClassificationLevel Data classification level for compliance policies. EncryptionHook Hook for field-level encryption/decryption of sensitive data. ErasureSink Sink for processing data erasure requests. PiiDetector Trait for PII detection on text content. Redact Defines types that contain sensitive PII or PHI data and should be redacted in logs or regular outputs.