Struct aws_sdk_ec2::types::StaleSecurityGroup
source · #[non_exhaustive]pub struct StaleSecurityGroup {
pub description: Option<String>,
pub group_id: Option<String>,
pub group_name: Option<String>,
pub stale_ip_permissions: Option<Vec<StaleIpPermission>>,
pub stale_ip_permissions_egress: Option<Vec<StaleIpPermission>>,
pub vpc_id: Option<String>,
}
Expand description
Describes a stale security group (a security group that contains stale rules).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.description: Option<String>
The description of the security group.
group_id: Option<String>
The ID of the security group.
group_name: Option<String>
The name of the security group.
stale_ip_permissions: Option<Vec<StaleIpPermission>>
Information about the stale inbound rules in the security group.
stale_ip_permissions_egress: Option<Vec<StaleIpPermission>>
Information about the stale outbound rules in the security group.
vpc_id: Option<String>
The ID of the VPC for the security group.
Implementations§
source§impl StaleSecurityGroup
impl StaleSecurityGroup
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the security group.
sourcepub fn group_name(&self) -> Option<&str>
pub fn group_name(&self) -> Option<&str>
The name of the security group.
sourcepub fn stale_ip_permissions(&self) -> Option<&[StaleIpPermission]>
pub fn stale_ip_permissions(&self) -> Option<&[StaleIpPermission]>
Information about the stale inbound rules in the security group.
sourcepub fn stale_ip_permissions_egress(&self) -> Option<&[StaleIpPermission]>
pub fn stale_ip_permissions_egress(&self) -> Option<&[StaleIpPermission]>
Information about the stale outbound rules in the security group.
source§impl StaleSecurityGroup
impl StaleSecurityGroup
sourcepub fn builder() -> StaleSecurityGroupBuilder
pub fn builder() -> StaleSecurityGroupBuilder
Creates a new builder-style object to manufacture StaleSecurityGroup
.
Trait Implementations§
source§impl Clone for StaleSecurityGroup
impl Clone for StaleSecurityGroup
source§fn clone(&self) -> StaleSecurityGroup
fn clone(&self) -> StaleSecurityGroup
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StaleSecurityGroup
impl Debug for StaleSecurityGroup
source§impl PartialEq<StaleSecurityGroup> for StaleSecurityGroup
impl PartialEq<StaleSecurityGroup> for StaleSecurityGroup
source§fn eq(&self, other: &StaleSecurityGroup) -> bool
fn eq(&self, other: &StaleSecurityGroup) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StaleSecurityGroup
Auto Trait Implementations§
impl RefUnwindSafe for StaleSecurityGroup
impl Send for StaleSecurityGroup
impl Sync for StaleSecurityGroup
impl Unpin for StaleSecurityGroup
impl UnwindSafe for StaleSecurityGroup
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
Mutably borrows from an owned value. Read more