pub enum Sensitivity {
Normal,
Sensitive,
Secret,
Hidden,
}Expand description
Classification of data sensitivity for security-conscious rendering.
Renderers should respect these classifications to prevent accidental disclosure of sensitive information in logs, debugging output, or UIs.
Variants§
Normal
Normal data with no special handling.
Sensitive
Sensitive data that should be handled carefully (e.g., email, PII).
Renderers may show this data but should flag it appropriately.
Secret
Secret data that should never be displayed (e.g., passwords, tokens).
Renderers must redact or hide this data.
Hidden
Hidden data that should be entirely omitted from output.
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 Default for Sensitivity
impl Default for Sensitivity
Source§fn default() -> Sensitivity
fn default() -> Sensitivity
Returns the “default value” for a type. Read more
impl Eq for Sensitivity
Source§impl Hash for Sensitivity
impl Hash for Sensitivity
Source§impl PartialEq for Sensitivity
impl PartialEq 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