#[non_exhaustive]pub struct AssessmentMetadataItem {
pub name: Option<String>,
pub id: Option<String>,
pub compliance_type: Option<String>,
pub status: Option<AssessmentStatus>,
pub roles: Option<Vec<Role>>,
pub delegations: Option<Vec<Delegation>>,
pub creation_time: Option<DateTime>,
pub last_updated: Option<DateTime>,
}
Expand description
A metadata object that's associated with an assessment in Audit Manager.
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.name: Option<String>
The name of the assessment.
id: Option<String>
The unique identifier for the assessment.
compliance_type: Option<String>
The name of the compliance standard that's related to the assessment, such as PCI-DSS.
status: Option<AssessmentStatus>
The current status of the assessment.
roles: Option<Vec<Role>>
The roles that are associated with the assessment.
delegations: Option<Vec<Delegation>>
The delegations that are associated with the assessment.
creation_time: Option<DateTime>
Specifies when the assessment was created.
last_updated: Option<DateTime>
The time of the most recent update.
Implementations§
source§impl AssessmentMetadataItem
impl AssessmentMetadataItem
sourcepub fn compliance_type(&self) -> Option<&str>
pub fn compliance_type(&self) -> Option<&str>
The name of the compliance standard that's related to the assessment, such as PCI-DSS.
sourcepub fn status(&self) -> Option<&AssessmentStatus>
pub fn status(&self) -> Option<&AssessmentStatus>
The current status of the assessment.
sourcepub fn roles(&self) -> &[Role]
pub fn roles(&self) -> &[Role]
The roles that are associated with the assessment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .roles.is_none()
.
sourcepub fn delegations(&self) -> &[Delegation]
pub fn delegations(&self) -> &[Delegation]
The delegations that are associated with the assessment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .delegations.is_none()
.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
Specifies when the assessment was created.
sourcepub fn last_updated(&self) -> Option<&DateTime>
pub fn last_updated(&self) -> Option<&DateTime>
The time of the most recent update.
source§impl AssessmentMetadataItem
impl AssessmentMetadataItem
sourcepub fn builder() -> AssessmentMetadataItemBuilder
pub fn builder() -> AssessmentMetadataItemBuilder
Creates a new builder-style object to manufacture AssessmentMetadataItem
.
Trait Implementations§
source§impl Clone for AssessmentMetadataItem
impl Clone for AssessmentMetadataItem
source§fn clone(&self) -> AssessmentMetadataItem
fn clone(&self) -> AssessmentMetadataItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssessmentMetadataItem
impl Debug for AssessmentMetadataItem
source§impl PartialEq for AssessmentMetadataItem
impl PartialEq for AssessmentMetadataItem
source§fn eq(&self, other: &AssessmentMetadataItem) -> bool
fn eq(&self, other: &AssessmentMetadataItem) -> bool
self
and other
values to be equal, and is used
by ==
.