Struct aws_sdk_rds::types::OptionSetting
source · #[non_exhaustive]pub struct OptionSetting {
pub name: Option<String>,
pub value: Option<String>,
pub default_value: Option<String>,
pub description: Option<String>,
pub apply_type: Option<String>,
pub data_type: Option<String>,
pub allowed_values: Option<String>,
pub is_modifiable: Option<bool>,
pub is_collection: Option<bool>,
}Expand description
Option settings are the actual settings being applied or configured for that option. It is used when you modify an option group or describe option groups. For example, the NATIVE_NETWORK_ENCRYPTION option has a setting called SQLNET.ENCRYPTION_SERVER that can have several different values.
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.name: Option<String>The name of the option that has settings that you can set.
value: Option<String>The current value of the option setting.
default_value: Option<String>The default value of the option setting.
description: Option<String>The description of the option setting.
apply_type: Option<String>The DB engine specific parameter type.
data_type: Option<String>The data type of the option setting.
allowed_values: Option<String>The allowed values of the option setting.
is_modifiable: Option<bool>Indicates whether the option setting can be modified from the default.
is_collection: Option<bool>Indicates whether the option setting is part of a collection.
Implementations§
source§impl OptionSetting
impl OptionSetting
sourcepub fn default_value(&self) -> Option<&str>
pub fn default_value(&self) -> Option<&str>
The default value of the option setting.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the option setting.
sourcepub fn apply_type(&self) -> Option<&str>
pub fn apply_type(&self) -> Option<&str>
The DB engine specific parameter type.
sourcepub fn allowed_values(&self) -> Option<&str>
pub fn allowed_values(&self) -> Option<&str>
The allowed values of the option setting.
sourcepub fn is_modifiable(&self) -> Option<bool>
pub fn is_modifiable(&self) -> Option<bool>
Indicates whether the option setting can be modified from the default.
sourcepub fn is_collection(&self) -> Option<bool>
pub fn is_collection(&self) -> Option<bool>
Indicates whether the option setting is part of a collection.
source§impl OptionSetting
impl OptionSetting
sourcepub fn builder() -> OptionSettingBuilder
pub fn builder() -> OptionSettingBuilder
Creates a new builder-style object to manufacture OptionSetting.
Trait Implementations§
source§impl Clone for OptionSetting
impl Clone for OptionSetting
source§fn clone(&self) -> OptionSetting
fn clone(&self) -> OptionSetting
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for OptionSetting
impl Debug for OptionSetting
source§impl PartialEq for OptionSetting
impl PartialEq for OptionSetting
impl StructuralPartialEq for OptionSetting
Auto Trait Implementations§
impl Freeze for OptionSetting
impl RefUnwindSafe for OptionSetting
impl Send for OptionSetting
impl Sync for OptionSetting
impl Unpin for OptionSetting
impl UnwindSafe for OptionSetting
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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