Skip to main content

Crate ranvier_compliance

Crate ranvier_compliance 

Source

Structs§

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.

Enums§

ClassificationLevel
Data classification level for compliance policies.

Traits§

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.