pub struct AuditReport {
pub violations: Vec<Violation>,
pub segments_checked: usize,
pub timestamp: DateTime<Utc>,
}Fields§
§violations: Vec<Violation>§segments_checked: usize§timestamp: DateTime<Utc>Implementations§
Source§impl AuditReport
impl AuditReport
pub fn has_errors(&self) -> bool
pub fn error_count(&self) -> usize
pub fn warning_count(&self) -> usize
Sourcepub fn format_report(&self) -> String
pub fn format_report(&self) -> String
Produce a human-readable audit report.
Auto Trait Implementations§
impl Freeze for AuditReport
impl RefUnwindSafe for AuditReport
impl Send for AuditReport
impl Sync for AuditReport
impl Unpin for AuditReport
impl UnsafeUnpin for AuditReport
impl UnwindSafe for AuditReport
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