Struct aws_sdk_rds::types::Option
source · #[non_exhaustive]pub struct Option {
pub option_name: Option<String>,
pub option_description: Option<String>,
pub persistent: Option<bool>,
pub permanent: Option<bool>,
pub port: Option<i32>,
pub option_version: Option<String>,
pub option_settings: Option<Vec<OptionSetting>>,
pub db_security_group_memberships: Option<Vec<DbSecurityGroupMembership>>,
pub vpc_security_group_memberships: Option<Vec<VpcSecurityGroupMembership>>,
}Expand description
The details of an option.
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.option_name: Option<String>The name of the option.
option_description: Option<String>The description of the option.
persistent: Option<bool>Indicates whether this option is persistent.
permanent: Option<bool>Indicates whether this option is permanent.
port: Option<i32>If required, the port configured for this option to use.
option_version: Option<String>The version of the option.
option_settings: Option<Vec<OptionSetting>>The option settings for this option.
db_security_group_memberships: Option<Vec<DbSecurityGroupMembership>>If the option requires access to a port, then this DB security group allows access to the port.
vpc_security_group_memberships: Option<Vec<VpcSecurityGroupMembership>>If the option requires access to a port, then this VPC security group allows access to the port.
Implementations§
source§impl Option
impl Option
sourcepub fn option_name(&self) -> Option<&str>
pub fn option_name(&self) -> Option<&str>
The name of the option.
sourcepub fn option_description(&self) -> Option<&str>
pub fn option_description(&self) -> Option<&str>
The description of the option.
sourcepub fn persistent(&self) -> Option<bool>
pub fn persistent(&self) -> Option<bool>
Indicates whether this option is persistent.
sourcepub fn option_version(&self) -> Option<&str>
pub fn option_version(&self) -> Option<&str>
The version of the option.
sourcepub fn option_settings(&self) -> &[OptionSetting]
pub fn option_settings(&self) -> &[OptionSetting]
The option settings for this option.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .option_settings.is_none().
sourcepub fn db_security_group_memberships(&self) -> &[DbSecurityGroupMembership]
pub fn db_security_group_memberships(&self) -> &[DbSecurityGroupMembership]
If the option requires access to a port, then this DB security group allows access to the port.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .db_security_group_memberships.is_none().
sourcepub fn vpc_security_group_memberships(&self) -> &[VpcSecurityGroupMembership]
pub fn vpc_security_group_memberships(&self) -> &[VpcSecurityGroupMembership]
If the option requires access to a port, then this VPC security group allows access to the port.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .vpc_security_group_memberships.is_none().
Trait Implementations§
impl StructuralPartialEq for Option
Auto Trait Implementations§
impl Freeze for Option
impl RefUnwindSafe for Option
impl Send for Option
impl Sync for Option
impl Unpin for Option
impl UnwindSafe for Option
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