pub struct AuditEntry {
pub at: u64,
pub user: String,
pub role: String,
pub via: String,
pub address: String,
pub method: String,
pub path: String,
pub detail: String,
pub status: u16,
pub node: String,
}Expand description
One audited change.
Fields§
§at: u64Unix seconds.
user: String§role: String§via: String§address: String§method: String§path: String§detail: StringThe request body, secrets redacted, at most 2 KB.
status: u16§node: StringThe replica that served it ([cluster] node, else the host name).
Implementations§
Trait Implementations§
Source§impl Clone for AuditEntry
impl Clone for AuditEntry
Source§impl Debug for AuditEntry
impl Debug for AuditEntry
Source§impl PartialEq for AuditEntry
impl PartialEq for AuditEntry
impl StructuralPartialEq for AuditEntry
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