#[repr(i32)]pub enum AuditEventType {
Show 46 variants
Unspecified = 0,
CampaignCreated = 1,
MessageSent = 2,
MessageOpened = 3,
AckRegistered = 4,
EscalationExecuted = 5,
CampaignStarted = 12,
CampaignCancelled = 13,
CampaignUpdated = 14,
UserInvited = 6,
UserDeactivated = 7,
UserReactivated = 15,
RoleChanged = 10,
InviteRevoked = 16,
ProfileUpdated = 17,
SettingsUpdated = 18,
PasskeyEnrolled = 19,
DataExportRequested = 8,
DataDeletionRequested = 9,
DataRectified = 20,
ProcessingRestricted = 21,
DeletionCancelled = 22,
DeletionImmediate = 23,
SsoConfigured = 11,
SsoProviderCreated = 24,
SsoProviderDeleted = 25,
OrgUpdated = 26,
RoleCreated = 27,
RoleUpdated = 28,
RoleDeleted = 29,
TemplateCreated = 30,
TemplateUpdated = 31,
ApiKeyCreated = 32,
ApiKeyRevoked = 33,
InviteLinkCreated = 34,
InviteLinkRevoked = 35,
GroupCreated = 36,
GroupUpdated = 37,
GroupDeleted = 38,
GroupMembersAdded = 39,
GroupMembersRemoved = 40,
TeamCreated = 41,
TeamUpdated = 42,
TeamDeleted = 43,
TeamMembersAdded = 44,
TeamMembersRemoved = 45,
}Expand description
Type of auditable platform action.
Variants§
Unspecified = 0
Default value; should not be used explicitly.
CampaignCreated = 1
── Campaign lifecycle ─────────────────────────────────────────────────── A campaign was created.
MessageSent = 2
A message was sent to a recipient.
MessageOpened = 3
A message was opened by a recipient.
AckRegistered = 4
A recipient acknowledged a campaign.
EscalationExecuted = 5
An escalation was triggered by the workflow.
CampaignStarted = 12
A campaign was started.
CampaignCancelled = 13
A campaign was cancelled.
CampaignUpdated = 14
A campaign was updated.
UserInvited = 6
── User lifecycle ─────────────────────────────────────────────────────── A user was invited to the organization.
UserDeactivated = 7
A user was deactivated.
UserReactivated = 15
A user was reactivated.
RoleChanged = 10
A user’s role was changed (assigned to a different role).
InviteRevoked = 16
A user’s invite was revoked.
ProfileUpdated = 17
A user’s profile was updated.
SettingsUpdated = 18
A user’s settings were updated.
PasskeyEnrolled = 19
A user enrolled a passkey.
DataExportRequested = 8
── GDPR / Privacy ────────────────────────────────────────────────────── A data export was requested (GDPR Art. 15).
DataDeletionRequested = 9
A data deletion was requested (GDPR Art. 17).
DataRectified = 20
User data was rectified (GDPR Art. 16).
ProcessingRestricted = 21
Data processing was restricted (GDPR Art. 18).
DeletionCancelled = 22
A scheduled deletion was cancelled.
DeletionImmediate = 23
An immediate deletion was executed.
SsoConfigured = 11
── Organization / SSO ─────────────────────────────────────────────────── An SSO provider was configured.
SsoProviderCreated = 24
An SSO provider was created.
SsoProviderDeleted = 25
An SSO provider was deleted.
OrgUpdated = 26
Organization settings were updated.
RoleCreated = 27
── Roles ──────────────────────────────────────────────────────────────── A role was created.
RoleUpdated = 28
A role’s name or permissions were updated.
RoleDeleted = 29
A role was deleted.
TemplateCreated = 30
── Templates ──────────────────────────────────────────────────────────── A template was created.
TemplateUpdated = 31
A template was updated.
ApiKeyCreated = 32
── API Keys ───────────────────────────────────────────────────────────── An API key was created.
ApiKeyRevoked = 33
An API key was revoked.
InviteLinkCreated = 34
── Invite Links ───────────────────────────────────────────────────────── An invite link was created.
InviteLinkRevoked = 35
An invite link was revoked.
GroupCreated = 36
── Groups ─────────────────────────────────────────────────────────────── A group was created.
GroupUpdated = 37
A group was updated.
GroupDeleted = 38
A group was deleted.
GroupMembersAdded = 39
Members were added to a group.
GroupMembersRemoved = 40
Members were removed from a group.
TeamCreated = 41
── Teams ──────────────────────────────────────────────────────────────── A team was created.
TeamUpdated = 42
A team was updated.
TeamDeleted = 43
A team was deleted.
TeamMembersAdded = 44
Members were added to a team.
TeamMembersRemoved = 45
Members were removed from a team.
Implementations§
Source§impl AuditEventType
impl AuditEventType
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for AuditEventType
impl Clone for AuditEventType
Source§fn clone(&self) -> AuditEventType
fn clone(&self) -> AuditEventType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AuditEventType
impl Debug for AuditEventType
Source§impl Default for AuditEventType
impl Default for AuditEventType
Source§fn default() -> AuditEventType
fn default() -> AuditEventType
Source§impl From<AuditEventType> for i32
impl From<AuditEventType> for i32
Source§fn from(value: AuditEventType) -> i32
fn from(value: AuditEventType) -> i32
Source§impl Hash for AuditEventType
impl Hash for AuditEventType
Source§impl Ord for AuditEventType
impl Ord for AuditEventType
Source§fn cmp(&self, other: &AuditEventType) -> Ordering
fn cmp(&self, other: &AuditEventType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for AuditEventType
impl PartialEq for AuditEventType
Source§impl PartialOrd for AuditEventType
impl PartialOrd for AuditEventType
Source§impl TryFrom<i32> for AuditEventType
impl TryFrom<i32> for AuditEventType
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
Source§fn try_from(value: i32) -> Result<AuditEventType, UnknownEnumValue>
fn try_from(value: i32) -> Result<AuditEventType, UnknownEnumValue>
impl Copy for AuditEventType
impl Eq for AuditEventType
impl StructuralPartialEq for AuditEventType
Auto Trait Implementations§
impl Freeze for AuditEventType
impl RefUnwindSafe for AuditEventType
impl Send for AuditEventType
impl Sync for AuditEventType
impl Unpin for AuditEventType
impl UnsafeUnpin for AuditEventType
impl UnwindSafe for AuditEventType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request