Struct aws_sdk_rds::model::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: bool,
pub is_collection: 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: boolA Boolean value that, when true, indicates the option setting can be modified from the default.
is_collection: boolIndicates if the option setting is part of a collection.
Implementations
sourceimpl 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) -> bool
pub fn is_modifiable(&self) -> bool
A Boolean value that, when true, indicates the option setting can be modified from the default.
sourcepub fn is_collection(&self) -> bool
pub fn is_collection(&self) -> bool
Indicates if the option setting is part of a collection.
sourceimpl OptionSetting
impl OptionSetting
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OptionSetting
Trait Implementations
sourceimpl Clone for OptionSetting
impl Clone for OptionSetting
sourcefn clone(&self) -> OptionSetting
fn clone(&self) -> OptionSetting
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for OptionSetting
impl Debug for OptionSetting
sourceimpl PartialEq<OptionSetting> for OptionSetting
impl PartialEq<OptionSetting> for OptionSetting
sourcefn eq(&self, other: &OptionSetting) -> bool
fn eq(&self, other: &OptionSetting) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &OptionSetting) -> bool
fn ne(&self, other: &OptionSetting) -> bool
This method tests for !=.
impl StructuralPartialEq for OptionSetting
Auto Trait Implementations
impl RefUnwindSafe for OptionSetting
impl Send for OptionSetting
impl Sync for OptionSetting
impl Unpin for OptionSetting
impl UnwindSafe for OptionSetting
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more