Struct aws_sdk_rds::types::DbSecurityGroup
source · #[non_exhaustive]pub struct DbSecurityGroup {
pub owner_id: Option<String>,
pub db_security_group_name: Option<String>,
pub db_security_group_description: Option<String>,
pub vpc_id: Option<String>,
pub ec2_security_groups: Option<Vec<Ec2SecurityGroup>>,
pub ip_ranges: Option<Vec<IpRange>>,
pub db_security_group_arn: Option<String>,
}Expand description
Contains the details for an Amazon RDS DB security group.
This data type is used as a response element in the DescribeDBSecurityGroups action.
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.owner_id: Option<String>Provides the Amazon Web Services ID of the owner of a specific DB security group.
db_security_group_name: Option<String>Specifies the name of the DB security group.
db_security_group_description: Option<String>Provides the description of the DB security group.
vpc_id: Option<String>Provides the VpcId of the DB security group.
ec2_security_groups: Option<Vec<Ec2SecurityGroup>>Contains a list of EC2SecurityGroup elements.
ip_ranges: Option<Vec<IpRange>>Contains a list of IPRange elements.
db_security_group_arn: Option<String>The Amazon Resource Name (ARN) for the DB security group.
Implementations§
source§impl DbSecurityGroup
impl DbSecurityGroup
sourcepub fn owner_id(&self) -> Option<&str>
pub fn owner_id(&self) -> Option<&str>
Provides the Amazon Web Services ID of the owner of a specific DB security group.
sourcepub fn db_security_group_name(&self) -> Option<&str>
pub fn db_security_group_name(&self) -> Option<&str>
Specifies the name of the DB security group.
sourcepub fn db_security_group_description(&self) -> Option<&str>
pub fn db_security_group_description(&self) -> Option<&str>
Provides the description of the DB security group.
sourcepub fn ec2_security_groups(&self) -> &[Ec2SecurityGroup]
pub fn ec2_security_groups(&self) -> &[Ec2SecurityGroup]
Contains a list of EC2SecurityGroup elements.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ec2_security_groups.is_none().
sourcepub fn ip_ranges(&self) -> &[IpRange]
pub fn ip_ranges(&self) -> &[IpRange]
Contains a list of IPRange elements.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ip_ranges.is_none().
sourcepub fn db_security_group_arn(&self) -> Option<&str>
pub fn db_security_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the DB security group.
source§impl DbSecurityGroup
impl DbSecurityGroup
sourcepub fn builder() -> DbSecurityGroupBuilder
pub fn builder() -> DbSecurityGroupBuilder
Creates a new builder-style object to manufacture DbSecurityGroup.
Trait Implementations§
source§impl Clone for DbSecurityGroup
impl Clone for DbSecurityGroup
source§fn clone(&self) -> DbSecurityGroup
fn clone(&self) -> DbSecurityGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DbSecurityGroup
impl Debug for DbSecurityGroup
source§impl PartialEq for DbSecurityGroup
impl PartialEq for DbSecurityGroup
impl StructuralPartialEq for DbSecurityGroup
Auto Trait Implementations§
impl Freeze for DbSecurityGroup
impl RefUnwindSafe for DbSecurityGroup
impl Send for DbSecurityGroup
impl Sync for DbSecurityGroup
impl Unpin for DbSecurityGroup
impl UnwindSafe for DbSecurityGroup
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