Struct AuditLog

Source
pub struct AuditLog {
Show 32 fields pub actor: AuditLogActor, pub api_key_created: Option<AuditLogApiKeyCreated>, pub api_key_deleted: Option<AuditLogApiKeyDeleted>, pub api_key_updated: Option<AuditLogApiKeyUpdated>, pub certificate_created: Option<AuditLogCertificateCreated>, pub certificate_deleted: Option<AuditLogCertificateDeleted>, pub certificate_updated: Option<AuditLogCertificateCreated>, pub certificates_activated: Option<AuditLogCertificatesActivated>, pub certificates_deactivated: Option<AuditLogCertificatesActivated>, pub checkpoint_permission_created: Option<AuditLogCheckpointPermissionCreated>, pub checkpoint_permission_deleted: Option<AuditLogCheckpointPermissionDeleted>, pub effective_at: i32, pub id: String, pub invite_accepted: Option<AuditLogInviteAccepted>, pub invite_deleted: Option<AuditLogInviteAccepted>, pub invite_sent: Option<AuditLogInviteSent>, pub login_failed: Option<AuditLogLoginFailed>, pub logout_failed: Option<AuditLogLoginFailed>, pub organization_updated: Option<AuditLogOrganizationUpdated>, pub project: Option<AuditLogProject>, pub project_archived: Option<AuditLogProjectArchived>, pub project_created: Option<AuditLogProjectCreated>, pub project_updated: Option<AuditLogProjectUpdated>, pub rate_limit_deleted: Option<AuditLogRateLimitDeleted>, pub rate_limit_updated: Option<AuditLogRateLimitUpdated>, pub service_account_created: Option<AuditLogServiceAccountCreated>, pub service_account_deleted: Option<AuditLogServiceAccountDeleted>, pub service_account_updated: Option<AuditLogServiceAccountUpdated>, pub _type: AuditLogEventType, pub user_added: Option<AuditLogUserAdded>, pub user_deleted: Option<AuditLogUserDeleted>, pub user_updated: Option<AuditLogUserUpdated>,
}

Fields§

§actor: AuditLogActor§api_key_created: Option<AuditLogApiKeyCreated>§api_key_deleted: Option<AuditLogApiKeyDeleted>§api_key_updated: Option<AuditLogApiKeyUpdated>§certificate_created: Option<AuditLogCertificateCreated>§certificate_deleted: Option<AuditLogCertificateDeleted>§certificate_updated: Option<AuditLogCertificateCreated>§certificates_activated: Option<AuditLogCertificatesActivated>§certificates_deactivated: Option<AuditLogCertificatesActivated>§checkpoint_permission_created: Option<AuditLogCheckpointPermissionCreated>§checkpoint_permission_deleted: Option<AuditLogCheckpointPermissionDeleted>§effective_at: i32

The Unix timestamp (in seconds) of the event.

§id: String

The ID of this log.

§invite_accepted: Option<AuditLogInviteAccepted>§invite_deleted: Option<AuditLogInviteAccepted>§invite_sent: Option<AuditLogInviteSent>§login_failed: Option<AuditLogLoginFailed>§logout_failed: Option<AuditLogLoginFailed>§organization_updated: Option<AuditLogOrganizationUpdated>§project: Option<AuditLogProject>§project_archived: Option<AuditLogProjectArchived>§project_created: Option<AuditLogProjectCreated>§project_updated: Option<AuditLogProjectUpdated>§rate_limit_deleted: Option<AuditLogRateLimitDeleted>§rate_limit_updated: Option<AuditLogRateLimitUpdated>§service_account_created: Option<AuditLogServiceAccountCreated>§service_account_deleted: Option<AuditLogServiceAccountDeleted>§service_account_updated: Option<AuditLogServiceAccountUpdated>§_type: AuditLogEventType§user_added: Option<AuditLogUserAdded>§user_deleted: Option<AuditLogUserDeleted>§user_updated: Option<AuditLogUserUpdated>

Trait Implementations§

Source§

impl Debug for AuditLog

Source§

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

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for AuditLog

Source§

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 Serialize for AuditLog

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. 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> 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, 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.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,