#[non_exhaustive]pub struct BooleanConfigurationOptions {
pub default_value: Option<bool>,
}
Expand description
The options for customizing a security control parameter with a boolean. For a boolean parameter, the options are true
and false
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.default_value: Option<bool>
The Security Hub default value for a boolean parameter.
Implementations§
source§impl BooleanConfigurationOptions
impl BooleanConfigurationOptions
sourcepub fn default_value(&self) -> Option<bool>
pub fn default_value(&self) -> Option<bool>
The Security Hub default value for a boolean parameter.
source§impl BooleanConfigurationOptions
impl BooleanConfigurationOptions
sourcepub fn builder() -> BooleanConfigurationOptionsBuilder
pub fn builder() -> BooleanConfigurationOptionsBuilder
Creates a new builder-style object to manufacture BooleanConfigurationOptions
.
Trait Implementations§
source§impl Clone for BooleanConfigurationOptions
impl Clone for BooleanConfigurationOptions
source§fn clone(&self) -> BooleanConfigurationOptions
fn clone(&self) -> BooleanConfigurationOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BooleanConfigurationOptions
impl Debug for BooleanConfigurationOptions
source§impl PartialEq for BooleanConfigurationOptions
impl PartialEq for BooleanConfigurationOptions
source§fn eq(&self, other: &BooleanConfigurationOptions) -> bool
fn eq(&self, other: &BooleanConfigurationOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BooleanConfigurationOptions
Auto Trait Implementations§
impl Freeze for BooleanConfigurationOptions
impl RefUnwindSafe for BooleanConfigurationOptions
impl Send for BooleanConfigurationOptions
impl Sync for BooleanConfigurationOptions
impl Unpin for BooleanConfigurationOptions
impl UnwindSafe for BooleanConfigurationOptions
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.