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 to indicate 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 to indicate 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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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§impl Serialize for AuditLogCreateEvent
impl Serialize for AuditLogCreateEvent
impl StructuralPartialEq for AuditLogCreateEvent
Auto Trait Implementations§
impl Freeze for AuditLogCreateEvent
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