Struct aws_sdk_ec2::model::AnalysisSecurityGroupRule [−][src]
#[non_exhaustive]pub struct AnalysisSecurityGroupRule {
pub cidr: Option<String>,
pub direction: Option<String>,
pub security_group_id: Option<String>,
pub port_range: Option<PortRange>,
pub prefix_list_id: Option<String>,
pub protocol: Option<String>,
}
Expand description
Describes a security group rule.
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.cidr: Option<String>
The IPv4 address range, in CIDR notation.
direction: Option<String>
The direction. The following are possible values:
-
egress
-
ingress
security_group_id: Option<String>
The security group ID.
port_range: Option<PortRange>
The port range.
prefix_list_id: Option<String>
The prefix list ID.
protocol: Option<String>
The protocol name.
Implementations
The direction. The following are possible values:
-
egress
-
ingress
The security group ID.
The port range.
The prefix list ID.
Creates a new builder-style object to manufacture AnalysisSecurityGroupRule
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AnalysisSecurityGroupRule
impl Send for AnalysisSecurityGroupRule
impl Sync for AnalysisSecurityGroupRule
impl Unpin for AnalysisSecurityGroupRule
impl UnwindSafe for AnalysisSecurityGroupRule
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more