#[non_exhaustive]pub enum PersonalDataStatement {
NothingHeld,
HeldOutside(HeldOutside),
}Expand description
What the operator states about personal data for one field its schema marks as able to hold it.
Both forms make the same assertion about the field’s value: it carries no personal data beyond what the governing act requires the passport itself to carry. They differ only in where related personal data is held. See the module documentation for why that is never inside the passport.
On the wire, keyed by the field’s dotted path in the passport’s
personalData map:
{ "usageHistory.negativeEvents": { "held": "nothing" } }
{ "usageHistory.negativeEvents": { "held": "outside", "lawfulBasis": "consent", "record": "…" } }Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NothingHeld
No personal data related to this field of this passport is held.
HeldOutside(HeldOutside)
Personal data related to this field is held outside the passport, in an erasable record.
Trait Implementations§
Source§impl Clone for PersonalDataStatement
impl Clone for PersonalDataStatement
Source§impl Debug for PersonalDataStatement
impl Debug for PersonalDataStatement
Source§impl<'de> Deserialize<'de> for PersonalDataStatement
impl<'de> Deserialize<'de> for PersonalDataStatement
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
impl Eq for PersonalDataStatement
Source§impl PartialEq for PersonalDataStatement
impl PartialEq for PersonalDataStatement
Source§impl Serialize for PersonalDataStatement
impl Serialize for PersonalDataStatement
impl StructuralPartialEq for PersonalDataStatement
Auto Trait Implementations§
impl Freeze for PersonalDataStatement
impl RefUnwindSafe for PersonalDataStatement
impl Send for PersonalDataStatement
impl Sync for PersonalDataStatement
impl Unpin for PersonalDataStatement
impl UnsafeUnpin for PersonalDataStatement
impl UnwindSafe for PersonalDataStatement
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.