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
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) -> &[StaleIpPermission]
pub fn stale_ip_permissions(&self) -> &[StaleIpPermission]
Information about the stale inbound rules in the security group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .stale_ip_permissions.is_none()
.
sourcepub fn stale_ip_permissions_egress(&self) -> &[StaleIpPermission]
pub fn stale_ip_permissions_egress(&self) -> &[StaleIpPermission]
Information about the stale outbound rules in the security group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .stale_ip_permissions_egress.is_none()
.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StaleSecurityGroup
impl Debug for StaleSecurityGroup
source§impl PartialEq for StaleSecurityGroup
impl PartialEq for StaleSecurityGroup
source§fn eq(&self, other: &StaleSecurityGroup) -> bool
fn eq(&self, other: &StaleSecurityGroup) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StaleSecurityGroup
Auto Trait Implementations§
impl Freeze for StaleSecurityGroup
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
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