#[non_exhaustive]pub struct HeldOutside {
pub lawful_basis: LawfulBasis,
pub record: PersonalDataRecordId,
}Expand description
Personal data related to a marked field, held in an erasable record outside the passport.
Carries the basis and the record’s identifier, and nothing about the person. The controller’s own evidence of the basis, such as its record of a consent, is deliberately not referenced here: the controller keeps that evidence after the data is erased, so a pointer to it in a signed passport would keep relating the passport to the person.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.lawful_basis: LawfulBasisThe GDPR Art. 6(1) ground the record is held on.
record: PersonalDataRecordIdThe record holding the data.
Implementations§
Source§impl HeldOutside
impl HeldOutside
Sourcepub fn new(lawful_basis: LawfulBasis, record: PersonalDataRecordId) -> Self
pub fn new(lawful_basis: LawfulBasis, record: PersonalDataRecordId) -> Self
A record held on lawful_basis.
Trait Implementations§
Source§impl Clone for HeldOutside
impl Clone for HeldOutside
Source§impl Debug for HeldOutside
impl Debug for HeldOutside
Source§impl<'de> Deserialize<'de> for HeldOutside
impl<'de> Deserialize<'de> for HeldOutside
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 HeldOutside
Source§impl PartialEq for HeldOutside
impl PartialEq for HeldOutside
Source§impl Serialize for HeldOutside
impl Serialize for HeldOutside
impl StructuralPartialEq for HeldOutside
Auto Trait Implementations§
impl Freeze for HeldOutside
impl RefUnwindSafe for HeldOutside
impl Send for HeldOutside
impl Sync for HeldOutside
impl Unpin for HeldOutside
impl UnsafeUnpin for HeldOutside
impl UnwindSafe for HeldOutside
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.