pub struct AuditLogV2 { /* private fields */ }Expand description
Definition of the audit.2 format.
Implementations§
Source§impl AuditLogV2
impl AuditLogV2
pub fn time(&self) -> DateTime<Utc>
Sourcepub fn uid(&self) -> Option<&UserId>
pub fn uid(&self) -> Option<&UserId>
User id (if available). This is the most downstream caller.
Sourcepub fn org_id(&self) -> Option<&OrganizationId>
pub fn org_id(&self) -> Option<&OrganizationId>
Organization id (if available)
Sourcepub fn other_uids(&self) -> &[UserId]
pub fn other_uids(&self) -> &[UserId]
All users upstream of the user currently taking an action. The first element in this list is the uid of the most upstream caller. This list does not include the uid.
Sourcepub fn origin(&self) -> Option<&str>
pub fn origin(&self) -> Option<&str>
Best-effort identifier of the originating machine, e.g. an IP address, a Kubernetes node identifier, or similar
Sourcepub fn result(&self) -> &AuditResult
pub fn result(&self) -> &AuditResult
Indicates whether the request was successful or the type of failure, e.g. ERROR or UNAUTHORIZED
Sourcepub fn request_params(&self) -> &BTreeMap<String, Any>
pub fn request_params(&self) -> &BTreeMap<String, Any>
The parameters known at method invocation time.
Sourcepub fn result_params(&self) -> &BTreeMap<String, Any>
pub fn result_params(&self) -> &BTreeMap<String, Any>
Information derived within a method, commonly parts of the return value.
Trait Implementations§
Source§impl Clone for AuditLogV2
impl Clone for AuditLogV2
Source§fn clone(&self) -> AuditLogV2
fn clone(&self) -> AuditLogV2
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuditLogV2
impl Debug for AuditLogV2
Source§impl<'de> Deserialize<'de> for AuditLogV2
impl<'de> Deserialize<'de> for AuditLogV2
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<AuditLogV2> for Builder<Complete>
impl From<AuditLogV2> for Builder<Complete>
Source§fn from(v: AuditLogV2) -> Self
fn from(v: AuditLogV2) -> Self
Converts to this type from the input type.
Source§impl Hash for AuditLogV2
impl Hash for AuditLogV2
Source§impl Ord for AuditLogV2
impl Ord for AuditLogV2
Source§fn cmp(&self, other: &AuditLogV2) -> Ordering
fn cmp(&self, other: &AuditLogV2) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AuditLogV2
impl PartialEq for AuditLogV2
Source§impl PartialOrd for AuditLogV2
impl PartialOrd for AuditLogV2
Source§impl Serialize for AuditLogV2
impl Serialize for AuditLogV2
impl Eq for AuditLogV2
impl StructuralPartialEq for AuditLogV2
Auto Trait Implementations§
impl Freeze for AuditLogV2
impl RefUnwindSafe for AuditLogV2
impl Send for AuditLogV2
impl Sync for AuditLogV2
impl Unpin for AuditLogV2
impl UnwindSafe for AuditLogV2
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
Mutably borrows from an owned value. Read more