pub struct AuditEntry {
pub id: i64,
pub timestamp: DateTime<Utc>,
pub operation: String,
pub environment: String,
pub key_name: Option<String>,
pub details: Option<String>,
pub user: Option<String>,
pub pid: Option<i64>,
}Expand description
A single audit log entry.
Fields§
§id: i64§timestamp: DateTime<Utc>§operation: String§environment: String§key_name: Option<String>§details: Option<String>§user: Option<String>§pid: Option<i64>Trait Implementations§
Source§impl Clone for AuditEntry
impl Clone for AuditEntry
Source§fn clone(&self) -> AuditEntry
fn clone(&self) -> AuditEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuditEntry
impl Debug for AuditEntry
Source§impl From<&AuditEntry> for AuditEntryExport
impl From<&AuditEntry> for AuditEntryExport
Source§fn from(e: &AuditEntry) -> Self
fn from(e: &AuditEntry) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AuditEntry
impl RefUnwindSafe for AuditEntry
impl Send for AuditEntry
impl Sync for AuditEntry
impl Unpin for AuditEntry
impl UnsafeUnpin for AuditEntry
impl UnwindSafe for AuditEntry
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