pub enum RedactionCode {
Ssn,
Card,
ConfidentialMarker,
Phi,
CustomerPrivate,
CodeExcerpt,
LengthTruncation,
}Expand description
Deterministic metadata redaction code.
Variants§
Ssn
US Social Security number marker.
Card
Payment card number marker.
ConfidentialMarker
NDA or confidential marker.
Phi
Protected health information marker.
CustomerPrivate
Private customer marker.
CodeExcerpt
Raw source code excerpt marker.
LengthTruncation
Length truncation marker.
Trait Implementations§
Source§impl Clone for RedactionCode
impl Clone for RedactionCode
Source§fn clone(&self) -> RedactionCode
fn clone(&self) -> RedactionCode
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 RedactionCode
Source§impl Debug for RedactionCode
impl Debug for RedactionCode
Source§impl<'de> Deserialize<'de> for RedactionCode
impl<'de> Deserialize<'de> for RedactionCode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RedactionCode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RedactionCode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RedactionCode
Source§impl Ord for RedactionCode
impl Ord for RedactionCode
Source§fn cmp(&self, other: &RedactionCode) -> Ordering
fn cmp(&self, other: &RedactionCode) -> Ordering
1.21.0 (const: unstable) · 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 RedactionCode
impl PartialEq for RedactionCode
Source§fn eq(&self, other: &RedactionCode) -> bool
fn eq(&self, other: &RedactionCode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RedactionCode
impl PartialOrd for RedactionCode
Source§impl Serialize for RedactionCode
impl Serialize for RedactionCode
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RedactionCode
Auto Trait Implementations§
impl Freeze for RedactionCode
impl RefUnwindSafe for RedactionCode
impl Send for RedactionCode
impl Sync for RedactionCode
impl Unpin for RedactionCode
impl UnsafeUnpin for RedactionCode
impl UnwindSafe for RedactionCode
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