Struct AuditLog

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