pub struct AuditLog {Show 25 fields
pub id: String,
pub type: String,
pub effective_at: i64,
pub project: Option<AuditLogProject>,
pub actor: AuditLogActor,
pub api_key_created: Option<AuditLogApiKeyCreated>,
pub api_key_updated: Option<AuditLogApiKeyUpdated>,
pub api_key_deleted: Option<AuditLogApiKeyDeleted>,
pub invite_sent: Option<AuditLogInviteSent>,
pub invite_accepted: Option<AuditLogInviteAccepted>,
pub invite_deleted: Option<AuditLogInviteDeleted>,
pub login_failed: Option<AuditLogLoginFailed>,
pub logout_failed: Option<AuditLogLogoutFailed>,
pub organization_updated: Option<AuditLogOrganizationUpdated>,
pub project_created: Option<AuditLogProjectCreated>,
pub project_updated: Option<AuditLogProjectUpdated>,
pub project_archived: Option<AuditLogProjectArchived>,
pub rate_limit_updated: Option<AuditLogRateLimitUpdated>,
pub rate_limit_deleted: Option<AuditLogRateLimitDeleted>,
pub service_account_created: Option<AuditLogServiceAccountCreated>,
pub service_account_updated: Option<AuditLogServiceAccountUpdated>,
pub service_account_deleted: Option<AuditLogServiceAccountDeleted>,
pub user_added: Option<AuditLogUserAdded>,
pub user_updated: Option<AuditLogUserUpdated>,
pub user_deleted: Option<AuditLogUserDeleted>,
}Expand description
Fields§
§id: StringThe ID of this log entry.
type: StringThe type of event that occurred.
effective_at: i64The Unix timestamp (in seconds) of the event.
project: Option<AuditLogProject>The project that the action was scoped to. Absent for actions not scoped to projects.
actor: AuditLogActorThe actor who performed the action.
api_key_created: Option<AuditLogApiKeyCreated>Details specific to an api_key.created event.
api_key_updated: Option<AuditLogApiKeyUpdated>Details specific to an api_key.updated event.
api_key_deleted: Option<AuditLogApiKeyDeleted>Details specific to an api_key.deleted event.
invite_sent: Option<AuditLogInviteSent>Details specific to an invite.sent event.
invite_accepted: Option<AuditLogInviteAccepted>Details specific to an invite.accepted event.
invite_deleted: Option<AuditLogInviteDeleted>Details specific to an invite.deleted event.
login_failed: Option<AuditLogLoginFailed>Details specific to a login.failed event.
logout_failed: Option<AuditLogLogoutFailed>Details specific to a logout.failed event.
organization_updated: Option<AuditLogOrganizationUpdated>Details specific to an organization.updated event.
project_created: Option<AuditLogProjectCreated>Details specific to a project.created event.
project_updated: Option<AuditLogProjectUpdated>Details specific to a project.updated event.
project_archived: Option<AuditLogProjectArchived>Details specific to a project.archived event.
rate_limit_updated: Option<AuditLogRateLimitUpdated>Details specific to a rate_limit.updated event.
rate_limit_deleted: Option<AuditLogRateLimitDeleted>Details specific to a rate_limit.deleted event.
service_account_created: Option<AuditLogServiceAccountCreated>Details specific to a service_account.created event.
service_account_updated: Option<AuditLogServiceAccountUpdated>Details specific to a service_account.updated event.
service_account_deleted: Option<AuditLogServiceAccountDeleted>Details specific to a service_account.deleted event.
user_added: Option<AuditLogUserAdded>Details specific to a user.added event.
user_updated: Option<AuditLogUserUpdated>Details specific to a user.updated event.
user_deleted: Option<AuditLogUserDeleted>Details specific to a user.deleted event.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuditLog
impl<'de> Deserialize<'de> for AuditLog
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>,
impl StructuralPartialEq for AuditLog
Auto Trait Implementations§
impl Freeze for AuditLog
impl RefUnwindSafe for AuditLog
impl Send for AuditLog
impl Sync for AuditLog
impl Unpin for AuditLog
impl UnwindSafe for AuditLog
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<C, E> EntryToVal<C> for Ewhere
C: Collection<Entry = E>,
impl<C, E> EntryToVal<C> for Ewhere
C: Collection<Entry = E>,
Source§type Val = <C as Collection>::Val
type Val = <C as Collection>::Val
Entry in complex collections.
For example, in a HashMap, while Entry might be a ( key, value ) tuple, Val might only be the value part.Source§fn entry_to_val(self) -> <E as EntryToVal<C>>::Val
fn entry_to_val(self) -> <E as EntryToVal<C>>::Val
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> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<C, Val> ValToEntry<C> for Valwhere
C: CollectionValToEntry<Val>,
impl<C, Val> ValToEntry<C> for Valwhere
C: CollectionValToEntry<Val>,
Source§fn val_to_entry(self) -> <C as CollectionValToEntry<Val>>::Entry
fn val_to_entry(self) -> <C as CollectionValToEntry<Val>>::Entry
Invokes the val_to_entry function of the CollectionValToEntry trait to convert the value to an entry.
Source§type Entry = <C as CollectionValToEntry<Val>>::Entry
type Entry = <C as CollectionValToEntry<Val>>::Entry
Entry is defined by the Collection trait.