Struct aws_sdk_ec2::model::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
sourceimpl 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.
sourceimpl StaleSecurityGroup
impl StaleSecurityGroup
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StaleSecurityGroup
.
Trait Implementations
sourceimpl Clone for StaleSecurityGroup
impl Clone for StaleSecurityGroup
sourcefn clone(&self) -> StaleSecurityGroup
fn clone(&self) -> StaleSecurityGroup
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StaleSecurityGroup
impl Debug for StaleSecurityGroup
sourceimpl PartialEq<StaleSecurityGroup> for StaleSecurityGroup
impl PartialEq<StaleSecurityGroup> for StaleSecurityGroup
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &StaleSecurityGroup) -> bool
fn ne(&self, other: &StaleSecurityGroup) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more