pub enum Sensitivity {
Phi,
Pci,
Pii,
Confidential,
Internal,
Public,
}Expand description
Sensitivity tag — selects which regulatory regime governs a resource.
Audit sinks use this to decide retention, routing, and whether to record at all.
Variants§
Phi
Protected Health Information (HIPAA §164).
Pci
Payment card industry data (PCI-DSS).
Pii
Personally identifiable information (GDPR/CCPA).
Confidential
Trade secrets / internal-only documents.
Internal
Non-public but unregulated business data.
Public
Anything intentionally public (logged for completeness; sinks may downsample).
Implementations§
Source§impl Sensitivity
impl Sensitivity
Sourcepub fn is_regulated(self) -> bool
pub fn is_regulated(self) -> bool
True when reads should be auditable in regulated deployments. Sinks
MAY drop Sensitivity::Public events to control volume.
Trait Implementations§
Source§impl Clone for Sensitivity
impl Clone for Sensitivity
Source§fn clone(&self) -> Sensitivity
fn clone(&self) -> Sensitivity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Sensitivity
Source§impl Debug for Sensitivity
impl Debug for Sensitivity
Source§impl<'de> Deserialize<'de> for Sensitivity
impl<'de> Deserialize<'de> for Sensitivity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Sensitivity
Source§impl Hash for Sensitivity
impl Hash for Sensitivity
Source§impl PartialEq for Sensitivity
impl PartialEq for Sensitivity
Source§impl Serialize for Sensitivity
impl Serialize for Sensitivity
impl StructuralPartialEq for Sensitivity
Auto Trait Implementations§
impl Freeze for Sensitivity
impl RefUnwindSafe for Sensitivity
impl Send for Sensitivity
impl Sync for Sensitivity
impl Unpin for Sensitivity
impl UnsafeUnpin for Sensitivity
impl UnwindSafe for Sensitivity
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more