Struct aws_sdk_auditmanager::types::Notification
source · #[non_exhaustive]pub struct Notification {
pub id: Option<String>,
pub assessment_id: Option<String>,
pub assessment_name: Option<String>,
pub control_set_id: Option<String>,
pub control_set_name: Option<String>,
pub description: Option<String>,
pub event_time: Option<DateTime>,
pub source: Option<String>,
}
Expand description
The notification that informs a user of an update in Audit Manager. For example, this includes the notification that's sent when a control set is delegated for review.
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.id: Option<String>
The unique identifier for the notification.
assessment_id: Option<String>
The identifier for the assessment.
assessment_name: Option<String>
The name of the related assessment.
control_set_id: Option<String>
The identifier for the control set.
control_set_name: Option<String>
Specifies the name of the control set that the notification is about.
description: Option<String>
The description of the notification.
event_time: Option<DateTime>
The time when the notification was sent.
source: Option<String>
The sender of the notification.
Implementations§
source§impl Notification
impl Notification
sourcepub fn assessment_id(&self) -> Option<&str>
pub fn assessment_id(&self) -> Option<&str>
The identifier for the assessment.
sourcepub fn assessment_name(&self) -> Option<&str>
pub fn assessment_name(&self) -> Option<&str>
The name of the related assessment.
sourcepub fn control_set_id(&self) -> Option<&str>
pub fn control_set_id(&self) -> Option<&str>
The identifier for the control set.
sourcepub fn control_set_name(&self) -> Option<&str>
pub fn control_set_name(&self) -> Option<&str>
Specifies the name of the control set that the notification is about.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the notification.
sourcepub fn event_time(&self) -> Option<&DateTime>
pub fn event_time(&self) -> Option<&DateTime>
The time when the notification was sent.
source§impl Notification
impl Notification
sourcepub fn builder() -> NotificationBuilder
pub fn builder() -> NotificationBuilder
Creates a new builder-style object to manufacture Notification
.
Trait Implementations§
source§impl Clone for Notification
impl Clone for Notification
source§fn clone(&self) -> Notification
fn clone(&self) -> Notification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Notification
impl Debug for Notification
source§impl PartialEq for Notification
impl PartialEq for Notification
source§fn eq(&self, other: &Notification) -> bool
fn eq(&self, other: &Notification) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Notification
Auto Trait Implementations§
impl Freeze for Notification
impl RefUnwindSafe for Notification
impl Send for Notification
impl Sync for Notification
impl Unpin for Notification
impl UnwindSafe for Notification
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