Struct aws_sdk_auditmanager::types::ChangeLog
source · #[non_exhaustive]pub struct ChangeLog {
pub object_type: Option<ObjectTypeEnum>,
pub object_name: Option<String>,
pub action: Option<ActionEnum>,
pub created_at: Option<DateTime>,
pub created_by: Option<String>,
}
Expand description
The record of a change within Audit Manager. For example, this could be the status change of an assessment or the delegation of a control set.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.object_type: Option<ObjectTypeEnum>
The object that was changed, such as an assessment, control, or control set.
object_name: Option<String>
The name of the object that changed. This could be the name of an assessment, control, or control set.
action: Option<ActionEnum>
The action that was performed.
created_at: Option<DateTime>
The time when the action was performed and the changelog record was created.
created_by: Option<String>
The user or role that performed the action.
Implementations§
source§impl ChangeLog
impl ChangeLog
sourcepub fn object_type(&self) -> Option<&ObjectTypeEnum>
pub fn object_type(&self) -> Option<&ObjectTypeEnum>
The object that was changed, such as an assessment, control, or control set.
sourcepub fn object_name(&self) -> Option<&str>
pub fn object_name(&self) -> Option<&str>
The name of the object that changed. This could be the name of an assessment, control, or control set.
sourcepub fn action(&self) -> Option<&ActionEnum>
pub fn action(&self) -> Option<&ActionEnum>
The action that was performed.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time when the action was performed and the changelog record was created.
sourcepub fn created_by(&self) -> Option<&str>
pub fn created_by(&self) -> Option<&str>
The user or role that performed the action.
Trait Implementations§
source§impl PartialEq for ChangeLog
impl PartialEq for ChangeLog
impl StructuralPartialEq for ChangeLog
Auto Trait Implementations§
impl Freeze for ChangeLog
impl RefUnwindSafe for ChangeLog
impl Send for ChangeLog
impl Sync for ChangeLog
impl Unpin for ChangeLog
impl UnwindSafe for ChangeLog
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> 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>
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>
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 more