pub struct AuditRecord {
pub ts: UtcTimestamp,
pub event: AuditEvent,
}Available on crate feature
std only.Expand description
Timestamped event stored in the append-only audit log.
Fields§
§ts: UtcTimestampUTC timestamp when the event was recorded.
event: AuditEventAudit event recorded at this timestamp.
Trait Implementations§
Source§impl Clone for AuditRecord
impl Clone for AuditRecord
Source§impl Debug for AuditRecord
impl Debug for AuditRecord
Source§impl<'de> Deserialize<'de> for AuditRecord
impl<'de> Deserialize<'de> for AuditRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for AuditRecord
impl Freeze for AuditRecord
impl Move for AuditRecord
impl RefUnwindSafe for AuditRecord
impl Send for AuditRecord
impl Sync for AuditRecord
impl Unpin for AuditRecord
impl UnsafeUnpin for AuditRecordwhere
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for AuditRecord
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