pub enum DetectedSensitivity {
Internal,
Confidential,
Restricted,
}Expand description
Sensitivity level of detected data in a response body.
Ordered from least to most sensitive, matching the ordering of
[arbiter_session::DataSensitivity] (minus Public, which cannot be
“detected” — it is the absence of sensitive content).
Variants§
Internal
Emails, internal IPs — organizational metadata.
Confidential
PII: SSNs, credit card numbers, phone numbers.
Restricted
Secrets: private keys, AWS keys, bearer tokens, API keys.
Trait Implementations§
Source§impl Clone for DetectedSensitivity
impl Clone for DetectedSensitivity
Source§fn clone(&self) -> DetectedSensitivity
fn clone(&self) -> DetectedSensitivity
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 DetectedSensitivity
impl Debug for DetectedSensitivity
Source§impl Ord for DetectedSensitivity
impl Ord for DetectedSensitivity
Source§fn cmp(&self, other: &DetectedSensitivity) -> Ordering
fn cmp(&self, other: &DetectedSensitivity) -> 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 DetectedSensitivity
impl PartialEq for DetectedSensitivity
Source§impl PartialOrd for DetectedSensitivity
impl PartialOrd for DetectedSensitivity
impl Copy for DetectedSensitivity
impl Eq for DetectedSensitivity
impl StructuralPartialEq for DetectedSensitivity
Auto Trait Implementations§
impl Freeze for DetectedSensitivity
impl RefUnwindSafe for DetectedSensitivity
impl Send for DetectedSensitivity
impl Sync for DetectedSensitivity
impl Unpin for DetectedSensitivity
impl UnsafeUnpin for DetectedSensitivity
impl UnwindSafe for DetectedSensitivity
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.