Struct aws_sdk_ec2::model::AnalysisAclRule [−][src]
#[non_exhaustive]pub struct AnalysisAclRule {
pub cidr: Option<String>,
pub egress: Option<bool>,
pub port_range: Option<PortRange>,
pub protocol: Option<String>,
pub rule_action: Option<String>,
pub rule_number: Option<i32>,
}
Expand description
Describes a network access control (ACL) rule.
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.cidr: Option<String>
The IPv4 address range, in CIDR notation.
egress: Option<bool>
Indicates whether the rule is an outbound rule.
port_range: Option<PortRange>
The range of ports.
protocol: Option<String>
The protocol.
rule_action: Option<String>
Indicates whether to allow or deny traffic that matches the rule.
rule_number: Option<i32>
The rule number.
Implementations
The range of ports.
Indicates whether to allow or deny traffic that matches the rule.
The rule number.
Creates a new builder-style object to manufacture AnalysisAclRule
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 AnalysisAclRule
impl Send for AnalysisAclRule
impl Sync for AnalysisAclRule
impl Unpin for AnalysisAclRule
impl UnwindSafe for AnalysisAclRule
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