pub struct HIPAACompliance { /* private fields */ }Expand description
HIPAA compliance
Implementations§
Source§impl HIPAACompliance
impl HIPAACompliance
Sourcepub fn initialize(&mut self) -> Result<(), MedicalError>
pub fn initialize(&mut self) -> Result<(), MedicalError>
Initialize HIPAACompliance; Ok when ready.
Sourcepub fn add_privacy_rule(&mut self, rule: PrivacyRule)
pub fn add_privacy_rule(&mut self, rule: PrivacyRule)
Add privacy_rule to the HIPAACompliance.
Sourcepub fn get_privacy_rule(&self, rule_id: &str) -> Option<&PrivacyRule>
pub fn get_privacy_rule(&self, rule_id: &str) -> Option<&PrivacyRule>
Look up privacy_rule by id; None when absent.
Sourcepub fn add_security_rule(&mut self, rule: SecurityRule)
pub fn add_security_rule(&mut self, rule: SecurityRule)
Add security_rule to the HIPAACompliance.
Sourcepub fn get_security_rule(&self, rule_id: &str) -> Option<&SecurityRule>
pub fn get_security_rule(&self, rule_id: &str) -> Option<&SecurityRule>
Look up security_rule by id; None when absent.
Sourcepub fn breach_notification(&self) -> &BreachNotification
pub fn breach_notification(&self) -> &BreachNotification
The breach_notification component.
Auto Trait Implementations§
impl Freeze for HIPAACompliance
impl RefUnwindSafe for HIPAACompliance
impl Send for HIPAACompliance
impl Sync for HIPAACompliance
impl Unpin for HIPAACompliance
impl UnsafeUnpin for HIPAACompliance
impl UnwindSafe for HIPAACompliance
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