pub struct AuditEventSummary {
pub id: i64,
pub timestamp: String,
pub event_type: String,
pub actor: Option<String>,
pub target: Option<String>,
pub detail_json: Option<String>,
pub source_ip: Option<String>,
}Expand description
A single audit event as returned to the client.
Fields§
§id: i64Monotonic event identifier.
timestamp: StringEvent timestamp (RFC 3339).
event_type: StringEvent type string (e.g. cert.revoke, auth.failure).
actor: Option<String>Identity that triggered the event, if recorded.
target: Option<String>Target of the event (e.g. certificate serial), if recorded.
detail_json: Option<String>Free-form JSON detail payload, if recorded.
source_ip: Option<String>Source IP address, if recorded.
Trait Implementations§
Source§impl<'a, R: Row> FromRow<'a, R> for AuditEventSummary
impl<'a, R: Row> FromRow<'a, R> for AuditEventSummary
Auto Trait Implementations§
impl Freeze for AuditEventSummary
impl RefUnwindSafe for AuditEventSummary
impl Send for AuditEventSummary
impl Sync for AuditEventSummary
impl Unpin for AuditEventSummary
impl UnsafeUnpin for AuditEventSummary
impl UnwindSafe for AuditEventSummary
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more