pub struct GDPRCompliance { /* private fields */ }Expand description
GDPR compliance
Implementations§
Source§impl GDPRCompliance
impl GDPRCompliance
Sourcepub fn initialize(&mut self) -> Result<(), MedicalError>
pub fn initialize(&mut self) -> Result<(), MedicalError>
Initialize GDPRCompliance; Ok when ready.
Sourcepub fn add_data_protection_principle(
&mut self,
principle: DataProtectionPrinciple,
)
pub fn add_data_protection_principle( &mut self, principle: DataProtectionPrinciple, )
Add data_protection_principle to the GDPRCompliance.
Sourcepub fn get_data_protection_principle(
&self,
principle_id: &str,
) -> Option<&DataProtectionPrinciple>
pub fn get_data_protection_principle( &self, principle_id: &str, ) -> Option<&DataProtectionPrinciple>
Look up data_protection_principle by id; None when absent.
Sourcepub fn add_data_subject_right(&mut self, right: DataSubjectRight)
pub fn add_data_subject_right(&mut self, right: DataSubjectRight)
Add data_subject_right to the GDPRCompliance.
Sourcepub fn get_data_subject_right(
&self,
right_id: &str,
) -> Option<&DataSubjectRight>
pub fn get_data_subject_right( &self, right_id: &str, ) -> Option<&DataSubjectRight>
Look up data_subject_right by id; None when absent.
Sourcepub fn add_data_processing_agreement(
&mut self,
agreement: DataProcessingAgreement,
)
pub fn add_data_processing_agreement( &mut self, agreement: DataProcessingAgreement, )
Add data_processing_agreement to the GDPRCompliance.
Sourcepub fn get_data_processing_agreement(
&self,
agreement_id: &str,
) -> Option<&DataProcessingAgreement>
pub fn get_data_processing_agreement( &self, agreement_id: &str, ) -> Option<&DataProcessingAgreement>
Look up data_processing_agreement by id; None when absent.
Auto Trait Implementations§
impl Freeze for GDPRCompliance
impl RefUnwindSafe for GDPRCompliance
impl Send for GDPRCompliance
impl Sync for GDPRCompliance
impl Unpin for GDPRCompliance
impl UnsafeUnpin for GDPRCompliance
impl UnwindSafe for GDPRCompliance
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more