Struct aws_sdk_securityhub::types::ParameterDefinition
source · #[non_exhaustive]pub struct ParameterDefinition {
pub description: Option<String>,
pub configuration_options: Option<ConfigurationOptions>,
}
Expand description
An object that describes a security control parameter and the options for customizing it.
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.description: Option<String>
Description of a control parameter.
configuration_options: Option<ConfigurationOptions>
The options for customizing a control parameter. Customization options vary based on the data type of the parameter.
Implementations§
source§impl ParameterDefinition
impl ParameterDefinition
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Description of a control parameter.
sourcepub fn configuration_options(&self) -> Option<&ConfigurationOptions>
pub fn configuration_options(&self) -> Option<&ConfigurationOptions>
The options for customizing a control parameter. Customization options vary based on the data type of the parameter.
source§impl ParameterDefinition
impl ParameterDefinition
sourcepub fn builder() -> ParameterDefinitionBuilder
pub fn builder() -> ParameterDefinitionBuilder
Creates a new builder-style object to manufacture ParameterDefinition
.
Trait Implementations§
source§impl Clone for ParameterDefinition
impl Clone for ParameterDefinition
source§fn clone(&self) -> ParameterDefinition
fn clone(&self) -> ParameterDefinition
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 ParameterDefinition
impl Debug for ParameterDefinition
source§impl PartialEq for ParameterDefinition
impl PartialEq for ParameterDefinition
source§fn eq(&self, other: &ParameterDefinition) -> bool
fn eq(&self, other: &ParameterDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ParameterDefinition
Auto Trait Implementations§
impl Freeze for ParameterDefinition
impl RefUnwindSafe for ParameterDefinition
impl Send for ParameterDefinition
impl Sync for ParameterDefinition
impl Unpin for ParameterDefinition
impl UnwindSafe for ParameterDefinition
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.