pub struct ReportBuilder { /* private fields */ }Expand description
Builder for PCTF compliance reports.
Implementations§
Source§impl ReportBuilder
impl ReportBuilder
Sourcepub fn new(
system_name: impl Into<String>,
target_level: AssuranceLevel,
generated_at: impl Into<String>,
) -> Self
pub fn new( system_name: impl Into<String>, target_level: AssuranceLevel, generated_at: impl Into<String>, ) -> Self
Create a new report builder.
Sourcepub fn with_assurance_evaluation(
self,
enabled: bool,
evidence_types: usize,
) -> Self
pub fn with_assurance_evaluation( self, enabled: bool, evidence_types: usize, ) -> Self
Set whether assurance level evaluation is implemented.
Sourcepub fn with_consent_management(self, enabled: bool) -> Self
pub fn with_consent_management(self, enabled: bool) -> Self
Set whether consent management is implemented.
Sourcepub fn with_audit_logging(self, enabled: bool) -> Self
pub fn with_audit_logging(self, enabled: bool) -> Self
Set whether audit logging is implemented.
Sourcepub fn with_crypto_integrity(self, enabled: bool) -> Self
pub fn with_crypto_integrity(self, enabled: bool) -> Self
Set whether cryptographic integrity (signing, verification) is implemented.
Sourcepub fn with_revocation(self, enabled: bool) -> Self
pub fn with_revocation(self, enabled: bool) -> Self
Set whether credential revocation is implemented.
Sourcepub fn build(self) -> PctfComplianceReport
pub fn build(self) -> PctfComplianceReport
Generate the compliance report.
Auto Trait Implementations§
impl Freeze for ReportBuilder
impl RefUnwindSafe for ReportBuilder
impl Send for ReportBuilder
impl Sync for ReportBuilder
impl Unpin for ReportBuilder
impl UnwindSafe for ReportBuilder
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