pub enum CompiledPIIClassification {
Public,
Internal,
Confidential,
Restricted,
Secret,
}Expand description
Compiled PII classification.
Variants§
Implementations§
Source§impl CompiledPIIClassification
impl CompiledPIIClassification
Sourcepub fn requires_redaction(&self) -> bool
pub fn requires_redaction(&self) -> bool
Whether this classification requires runtime redaction.
Sourcepub fn requires_encryption(&self) -> bool
pub fn requires_encryption(&self) -> bool
Whether this classification requires encrypted vault storage.
Trait Implementations§
Source§impl Clone for CompiledPIIClassification
impl Clone for CompiledPIIClassification
Source§fn clone(&self) -> CompiledPIIClassification
fn clone(&self) -> CompiledPIIClassification
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 CompiledPIIClassification
impl Debug for CompiledPIIClassification
Source§impl Default for CompiledPIIClassification
impl Default for CompiledPIIClassification
Source§fn default() -> CompiledPIIClassification
fn default() -> CompiledPIIClassification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompiledPIIClassification
impl<'de> Deserialize<'de> for CompiledPIIClassification
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 Hash for CompiledPIIClassification
impl Hash for CompiledPIIClassification
impl Copy for CompiledPIIClassification
impl Eq for CompiledPIIClassification
impl StructuralPartialEq for CompiledPIIClassification
Auto Trait Implementations§
impl Freeze for CompiledPIIClassification
impl RefUnwindSafe for CompiledPIIClassification
impl Send for CompiledPIIClassification
impl Sync for CompiledPIIClassification
impl Unpin for CompiledPIIClassification
impl UnwindSafe for CompiledPIIClassification
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.