Struct AuditLog

Source
pub struct AuditLog {
Show 32 fields pub id: String, pub type: AuditLogEventType, pub effective_at: i64, pub project: Option<AuditLog_Project>, pub actor: AuditLogActor, pub api_key_created: Option<AuditLog_ApiKeyCreated>, pub api_key_updated: Option<AuditLog_ApiKeyUpdated>, pub api_key_deleted: Option<AuditLog_ApiKeyDeleted>, pub checkpoint_permission_created: Option<AuditLog_CheckpointPermissionCreated>, pub checkpoint_permission_deleted: Option<AuditLog_CheckpointPermissionDeleted>, pub invite_sent: Option<AuditLog_InviteSent>, pub invite_accepted: Option<AuditLog_InviteAccepted>, pub invite_deleted: Option<AuditLog_InviteDeleted>, pub login_failed: Option<AuditLog_LoginFailed>, pub logout_failed: Option<AuditLog_LogoutFailed>, pub organization_updated: Option<AuditLog_OrganizationUpdated>, pub project_created: Option<AuditLog_ProjectCreated>, pub project_updated: Option<AuditLog_ProjectUpdated>, pub project_archived: Option<AuditLog_ProjectArchived>, pub rate_limit_updated: Option<AuditLog_RateLimitUpdated>, pub rate_limit_deleted: Option<AuditLog_RateLimitDeleted>, pub service_account_created: Option<AuditLog_ServiceAccountCreated>, pub service_account_updated: Option<AuditLog_ServiceAccountUpdated>, pub service_account_deleted: Option<AuditLog_ServiceAccountDeleted>, pub user_added: Option<AuditLog_UserAdded>, pub user_updated: Option<AuditLog_UserUpdated>, pub user_deleted: Option<AuditLog_UserDeleted>, pub certificate_created: Option<AuditLog_CertificateCreated>, pub certificate_updated: Option<AuditLog_CertificateUpdated>, pub certificate_deleted: Option<AuditLog_CertificateDeleted>, pub certificates_activated: Option<AuditLog_CertificatesActivated>, pub certificates_deactivated: Option<AuditLog_CertificatesDeactivated>,
}
Expand description

A log of a user action or configuration change within this organization.

Fields§

§id: String

The ID of this log.

§type: AuditLogEventType§effective_at: i64

The Unix timestamp (in seconds) of the event.

§project: Option<AuditLog_Project>§actor: AuditLogActor§api_key_created: Option<AuditLog_ApiKeyCreated>§api_key_updated: Option<AuditLog_ApiKeyUpdated>§api_key_deleted: Option<AuditLog_ApiKeyDeleted>§checkpoint_permission_created: Option<AuditLog_CheckpointPermissionCreated>§checkpoint_permission_deleted: Option<AuditLog_CheckpointPermissionDeleted>§invite_sent: Option<AuditLog_InviteSent>§invite_accepted: Option<AuditLog_InviteAccepted>§invite_deleted: Option<AuditLog_InviteDeleted>§login_failed: Option<AuditLog_LoginFailed>§logout_failed: Option<AuditLog_LogoutFailed>§organization_updated: Option<AuditLog_OrganizationUpdated>§project_created: Option<AuditLog_ProjectCreated>§project_updated: Option<AuditLog_ProjectUpdated>§project_archived: Option<AuditLog_ProjectArchived>§rate_limit_updated: Option<AuditLog_RateLimitUpdated>§rate_limit_deleted: Option<AuditLog_RateLimitDeleted>§service_account_created: Option<AuditLog_ServiceAccountCreated>§service_account_updated: Option<AuditLog_ServiceAccountUpdated>§service_account_deleted: Option<AuditLog_ServiceAccountDeleted>§user_added: Option<AuditLog_UserAdded>§user_updated: Option<AuditLog_UserUpdated>§user_deleted: Option<AuditLog_UserDeleted>§certificate_created: Option<AuditLog_CertificateCreated>§certificate_updated: Option<AuditLog_CertificateUpdated>§certificate_deleted: Option<AuditLog_CertificateDeleted>§certificates_activated: Option<AuditLog_CertificatesActivated>§certificates_deactivated: Option<AuditLog_CertificatesDeactivated>

Trait Implementations§

Source§

impl Clone for AuditLog

Source§

fn clone(&self) -> AuditLog

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for AuditLog

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.