#[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: i32The number of controls that are associated with the framework.
control_sets_count: i32The 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 ==.impl StructuralPartialEq for AssessmentFrameworkMetadata
Auto Trait Implementations§
impl Freeze for AssessmentFrameworkMetadata
impl RefUnwindSafe for AssessmentFrameworkMetadata
impl Send for AssessmentFrameworkMetadata
impl Sync for AssessmentFrameworkMetadata
impl Unpin for AssessmentFrameworkMetadata
impl UnwindSafe for AssessmentFrameworkMetadata
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