pub enum ClassificationLevel {
Public,
Internal,
Confidential,
Restricted,
}Expand description
Data classification level for compliance policies.
Higher levels require more stringent access controls and handling procedures.
Variants§
Public
Freely shareable data.
Internal
Organization-internal data, not for public distribution.
Confidential
Sensitive data requiring access controls (e.g., financial records).
Restricted
Highly sensitive data (e.g., PII, PHI, credentials). Requires explicit grant.
Trait Implementations§
Source§impl Clone for ClassificationLevel
impl Clone for ClassificationLevel
Source§fn clone(&self) -> ClassificationLevel
fn clone(&self) -> ClassificationLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClassificationLevel
impl Debug for ClassificationLevel
Source§impl<'de> Deserialize<'de> for ClassificationLevel
impl<'de> Deserialize<'de> for ClassificationLevel
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
Source§impl Display for ClassificationLevel
impl Display for ClassificationLevel
Source§impl Hash for ClassificationLevel
impl Hash for ClassificationLevel
Source§impl Ord for ClassificationLevel
impl Ord for ClassificationLevel
Source§fn cmp(&self, other: &ClassificationLevel) -> Ordering
fn cmp(&self, other: &ClassificationLevel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ClassificationLevel
impl PartialEq for ClassificationLevel
Source§impl PartialOrd for ClassificationLevel
impl PartialOrd for ClassificationLevel
Source§impl Serialize for ClassificationLevel
impl Serialize for ClassificationLevel
impl Copy for ClassificationLevel
impl Eq for ClassificationLevel
impl StructuralPartialEq for ClassificationLevel
Auto Trait Implementations§
impl Freeze for ClassificationLevel
impl RefUnwindSafe for ClassificationLevel
impl Send for ClassificationLevel
impl Sync for ClassificationLevel
impl Unpin for ClassificationLevel
impl UnsafeUnpin for ClassificationLevel
impl UnwindSafe for ClassificationLevel
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