pub struct KnownIdentity {
pub value: String,
pub category: String,
}Expand description
One entry of AnonPolicy::known: a bare value and the category it
should be detected/pseudonymized as — not always person (a project
codename is custom, say).
Fields§
§value: String§category: StringTrait Implementations§
Source§impl Clone for KnownIdentity
impl Clone for KnownIdentity
Source§impl Debug for KnownIdentity
impl Debug for KnownIdentity
Source§impl<'de> Deserialize<'de> for KnownIdentity
impl<'de> Deserialize<'de> for KnownIdentity
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
Auto Trait Implementations§
impl Freeze for KnownIdentity
impl RefUnwindSafe for KnownIdentity
impl Send for KnownIdentity
impl Sync for KnownIdentity
impl Unpin for KnownIdentity
impl UnsafeUnpin for KnownIdentity
impl UnwindSafe for KnownIdentity
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