#[non_exhaustive]pub struct AssessmentFrameworkMetadata {
pub arn: Option<String>,
pub id: Option<String>,
pub type: Option<FrameworkType>,
pub name: Option<String>,
pub description: Option<String>,
pub logo: Option<String>,
pub compliance_type: Option<String>,
pub controls_count: i32,
pub control_sets_count: i32,
pub created_at: Option<DateTime>,
pub last_updated_at: Option<DateTime>,
}
Expand description
The metadata that's associated with a standard framework or a custom framework.
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.arn: Option<String>
The Amazon Resource Name (ARN) of the framework.
id: Option<String>
The unique identifier for the framework.
type: Option<FrameworkType>
The framework type, such as a standard framework or a custom framework.
name: Option<String>
The name of the framework.
description: Option<String>
The description of the framework.
logo: Option<String>
The logo that's associated with the framework.
compliance_type: Option<String>
The compliance type that the new custom framework supports, such as CIS or HIPAA.
controls_count: i32
The number of controls that are associated with the framework.
control_sets_count: i32
The number of control sets that are associated with the framework.
created_at: Option<DateTime>
The time when the framework was created.
last_updated_at: Option<DateTime>
The time when the framework was most recently updated.
Implementations§
source§impl AssessmentFrameworkMetadata
impl AssessmentFrameworkMetadata
sourcepub fn type(&self) -> Option<&FrameworkType>
pub fn type(&self) -> Option<&FrameworkType>
The framework type, such as a standard framework or a custom framework.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the framework.
sourcepub fn compliance_type(&self) -> Option<&str>
pub fn compliance_type(&self) -> Option<&str>
The compliance type that the new custom framework supports, such as CIS or HIPAA.
sourcepub fn controls_count(&self) -> i32
pub fn controls_count(&self) -> i32
The number of controls that are associated with the framework.
sourcepub fn control_sets_count(&self) -> i32
pub fn control_sets_count(&self) -> i32
The number of control sets that are associated with the framework.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time when the framework was created.
sourcepub fn last_updated_at(&self) -> Option<&DateTime>
pub fn last_updated_at(&self) -> Option<&DateTime>
The time when the framework was most recently updated.
source§impl AssessmentFrameworkMetadata
impl AssessmentFrameworkMetadata
sourcepub fn builder() -> AssessmentFrameworkMetadataBuilder
pub fn builder() -> AssessmentFrameworkMetadataBuilder
Creates a new builder-style object to manufacture AssessmentFrameworkMetadata
.
Trait Implementations§
source§impl Clone for AssessmentFrameworkMetadata
impl Clone for AssessmentFrameworkMetadata
source§fn clone(&self) -> AssessmentFrameworkMetadata
fn clone(&self) -> AssessmentFrameworkMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssessmentFrameworkMetadata
impl Debug for AssessmentFrameworkMetadata
source§impl PartialEq for AssessmentFrameworkMetadata
impl PartialEq for AssessmentFrameworkMetadata
source§fn eq(&self, other: &AssessmentFrameworkMetadata) -> bool
fn eq(&self, other: &AssessmentFrameworkMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.