pub struct SecurityAuditEntry {
pub timestamp: SystemTime,
pub event_type: String,
pub peer_id: PeerId,
pub details: HashMap<String, String>,
pub severity: AuditSeverity,
}
Expand description
Security audit log entry
Fields§
§timestamp: SystemTime
Timestamp
event_type: String
Event type
peer_id: PeerId
Peer ID involved
details: HashMap<String, String>
Event details
severity: AuditSeverity
Severity level
Trait Implementations§
Source§impl Clone for SecurityAuditEntry
impl Clone for SecurityAuditEntry
Source§fn clone(&self) -> SecurityAuditEntry
fn clone(&self) -> SecurityAuditEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SecurityAuditEntry
impl RefUnwindSafe for SecurityAuditEntry
impl Send for SecurityAuditEntry
impl Sync for SecurityAuditEntry
impl Unpin for SecurityAuditEntry
impl UnwindSafe for SecurityAuditEntry
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