Struct aws_sdk_connectcases::types::AuditEvent
source · #[non_exhaustive]pub struct AuditEvent {
pub event_id: String,
pub type: AuditEventType,
pub related_item_type: Option<RelatedItemType>,
pub performed_time: DateTime,
pub fields: Vec<Option<AuditEventField>>,
pub performed_by: Option<AuditEventPerformedBy>,
}Expand description
Represents the content of a particular audit event.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.event_id: StringUnique identifier of a case audit history event.
type: AuditEventTypeThe Type of an audit history event.
The Type of the related item.
performed_time: DateTimeTime at which an Audit History event took place.
fields: Vec<Option<AuditEventField>>A list of Case Audit History event fields.
performed_by: Option<AuditEventPerformedBy>Information of the user which performed the audit.
Implementations§
source§impl AuditEvent
impl AuditEvent
sourcepub fn type(&self) -> &AuditEventType
pub fn type(&self) -> &AuditEventType
The Type of an audit history event.
The Type of the related item.
sourcepub fn performed_time(&self) -> &DateTime
pub fn performed_time(&self) -> &DateTime
Time at which an Audit History event took place.
sourcepub fn fields(&self) -> &[Option<AuditEventField>]
pub fn fields(&self) -> &[Option<AuditEventField>]
A list of Case Audit History event fields.
sourcepub fn performed_by(&self) -> Option<&AuditEventPerformedBy>
pub fn performed_by(&self) -> Option<&AuditEventPerformedBy>
Information of the user which performed the audit.
source§impl AuditEvent
impl AuditEvent
sourcepub fn builder() -> AuditEventBuilder
pub fn builder() -> AuditEventBuilder
Creates a new builder-style object to manufacture AuditEvent.
Trait Implementations§
source§impl Clone for AuditEvent
impl Clone for AuditEvent
source§fn clone(&self) -> AuditEvent
fn clone(&self) -> AuditEvent
Returns a copy 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 AuditEvent
impl Debug for AuditEvent
source§impl PartialEq for AuditEvent
impl PartialEq for AuditEvent
source§fn eq(&self, other: &AuditEvent) -> bool
fn eq(&self, other: &AuditEvent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AuditEvent
Auto Trait Implementations§
impl Freeze for AuditEvent
impl RefUnwindSafe for AuditEvent
impl Send for AuditEvent
impl Sync for AuditEvent
impl Unpin for AuditEvent
impl UnwindSafe for AuditEvent
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
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.