pub struct AuditLogCreateEvent {
pub audit_log: Option<Box<AuditLog>>,
pub create_instant: Option<i64>,
pub id: Option<Uuid>,
pub info: Option<Box<EventInfo>>,
pub tenant_id: Option<Uuid>,
pub type: Option<EventType>,
}
Expand description
AuditLogCreateEvent : Event event to an audit log was created.
Fields§
§audit_log: Option<Box<AuditLog>>
§create_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
id: Option<Uuid>
§info: Option<Box<EventInfo>>
§tenant_id: Option<Uuid>
§type: Option<EventType>
Implementations§
source§impl AuditLogCreateEvent
impl AuditLogCreateEvent
sourcepub fn new() -> AuditLogCreateEvent
pub fn new() -> AuditLogCreateEvent
Event event to an audit log was created.
Trait Implementations§
source§impl Clone for AuditLogCreateEvent
impl Clone for AuditLogCreateEvent
source§fn clone(&self) -> AuditLogCreateEvent
fn clone(&self) -> AuditLogCreateEvent
Returns a copy 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 AuditLogCreateEvent
impl Debug for AuditLogCreateEvent
source§impl Default for AuditLogCreateEvent
impl Default for AuditLogCreateEvent
source§fn default() -> AuditLogCreateEvent
fn default() -> AuditLogCreateEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AuditLogCreateEvent
impl<'de> Deserialize<'de> for AuditLogCreateEvent
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
source§impl PartialEq for AuditLogCreateEvent
impl PartialEq for AuditLogCreateEvent
source§fn eq(&self, other: &AuditLogCreateEvent) -> bool
fn eq(&self, other: &AuditLogCreateEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AuditLogCreateEvent
impl Serialize for AuditLogCreateEvent
impl StructuralPartialEq for AuditLogCreateEvent
Auto Trait Implementations§
impl RefUnwindSafe for AuditLogCreateEvent
impl Send for AuditLogCreateEvent
impl Sync for AuditLogCreateEvent
impl Unpin for AuditLogCreateEvent
impl UnwindSafe for AuditLogCreateEvent
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