pub struct AuditSystem { /* private fields */ }Expand description
Audit system
Implementations§
Source§impl AuditSystem
impl AuditSystem
Sourcepub fn initialize(&mut self) -> Result<(), MedicalError>
pub fn initialize(&mut self) -> Result<(), MedicalError>
Initialize AuditSystem; Ok when ready.
Sourcepub fn add_audit_trail(&mut self, trail: AuditTrail)
pub fn add_audit_trail(&mut self, trail: AuditTrail)
Add audit_trail to the AuditSystem.
Sourcepub fn get_audit_trail(&self, trail_id: &str) -> Option<&AuditTrail>
pub fn get_audit_trail(&self, trail_id: &str) -> Option<&AuditTrail>
Look up audit_trail by id; None when absent.
Sourcepub fn add_audit_report(&mut self, report: AuditReport)
pub fn add_audit_report(&mut self, report: AuditReport)
Add audit_report to the AuditSystem.
Sourcepub fn get_audit_report(&self, report_id: &str) -> Option<&AuditReport>
pub fn get_audit_report(&self, report_id: &str) -> Option<&AuditReport>
Look up audit_report by id; None when absent.
Sourcepub fn compliance_monitoring(&self) -> &ComplianceMonitoring
pub fn compliance_monitoring(&self) -> &ComplianceMonitoring
The compliance_monitoring component.
Auto Trait Implementations§
impl Freeze for AuditSystem
impl RefUnwindSafe for AuditSystem
impl Send for AuditSystem
impl Sync for AuditSystem
impl Unpin for AuditSystem
impl UnsafeUnpin for AuditSystem
impl UnwindSafe for AuditSystem
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