Struct aws_sdk_securityhub::types::Standard
source · #[non_exhaustive]pub struct Standard {
pub standards_arn: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub enabled_by_default: Option<bool>,
pub standards_managed_by: Option<StandardsManagedBy>,
}
Expand description
Provides information about a specific security standard.
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.standards_arn: Option<String>
The ARN of a standard.
name: Option<String>
The name of the standard.
description: Option<String>
A description of the standard.
enabled_by_default: Option<bool>
Whether the standard is enabled by default. When Security Hub is enabled from the console, if a standard is enabled by default, the check box for that standard is selected by default.
When Security Hub is enabled using the EnableSecurityHub
API operation, the standard is enabled by default unless EnableDefaultStandards
is set to false
.
standards_managed_by: Option<StandardsManagedBy>
Provides details about the management of a standard.
Implementations§
source§impl Standard
impl Standard
sourcepub fn standards_arn(&self) -> Option<&str>
pub fn standards_arn(&self) -> Option<&str>
The ARN of a standard.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the standard.
sourcepub fn enabled_by_default(&self) -> Option<bool>
pub fn enabled_by_default(&self) -> Option<bool>
Whether the standard is enabled by default. When Security Hub is enabled from the console, if a standard is enabled by default, the check box for that standard is selected by default.
When Security Hub is enabled using the EnableSecurityHub
API operation, the standard is enabled by default unless EnableDefaultStandards
is set to false
.
sourcepub fn standards_managed_by(&self) -> Option<&StandardsManagedBy>
pub fn standards_managed_by(&self) -> Option<&StandardsManagedBy>
Provides details about the management of a standard.
Trait Implementations§
source§impl PartialEq for Standard
impl PartialEq for Standard
impl StructuralPartialEq for Standard
Auto Trait Implementations§
impl Freeze for Standard
impl RefUnwindSafe for Standard
impl Send for Standard
impl Sync for Standard
impl Unpin for Standard
impl UnwindSafe for Standard
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