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().