pub struct AuditLogEvent {
pub action: Option<String>,
pub actor: Option<Box<AuditLogActor>>,
pub app_id: Option<String>,
pub context: Option<Box<AuditLogContext>>,
pub id: Option<String>,
pub metadata: Option<Value>,
pub occurred_at: Option<String>,
pub organization_id: Option<String>,
pub targets: Option<Vec<AuditLogTarget>>,
pub version: Option<i32>,
}Fields§
§action: Option<String>The action that was performed (e.g. notification.sent, segment.created, member.invited).
actor: Option<Box<AuditLogActor>>§app_id: Option<String>UUID of the app the event is associated with. Absent for org-level events.
context: Option<Box<AuditLogContext>>§id: Option<String>UUID of the audit log event.
metadata: Option<Value>Additional event-specific data that does not fit into the standard fields.
occurred_at: Option<String>RFC 3339 timestamp of when the event occurred (e.g. 2026-02-18T12:34:56Z).
organization_id: Option<String>UUID of the organization the event belongs to.
targets: Option<Vec<AuditLogTarget>>The resources the action was performed on. May be empty for org-level events.
version: Option<i32>Schema version of the event payload.
Implementations§
Source§impl AuditLogEvent
impl AuditLogEvent
pub fn new() -> AuditLogEvent
Trait Implementations§
Source§impl Clone for AuditLogEvent
impl Clone for AuditLogEvent
Source§fn clone(&self) -> AuditLogEvent
fn clone(&self) -> AuditLogEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AuditLogEvent
impl Debug for AuditLogEvent
Source§impl Default for AuditLogEvent
impl Default for AuditLogEvent
Source§fn default() -> AuditLogEvent
fn default() -> AuditLogEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuditLogEvent
impl<'de> Deserialize<'de> for AuditLogEvent
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 AuditLogEvent
impl PartialEq for AuditLogEvent
Source§impl Serialize for AuditLogEvent
impl Serialize for AuditLogEvent
impl StructuralPartialEq for AuditLogEvent
Auto Trait Implementations§
impl Freeze for AuditLogEvent
impl RefUnwindSafe for AuditLogEvent
impl Send for AuditLogEvent
impl Sync for AuditLogEvent
impl Unpin for AuditLogEvent
impl UnsafeUnpin for AuditLogEvent
impl UnwindSafe for AuditLogEvent
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