pub struct NetworkAclEntry {
pub cidr_block: Option<String>,
pub egress: Option<bool>,
pub icmp_type_code: Option<IcmpTypeCode>,
pub ipv_6_cidr_block: Option<String>,
pub port_range: Option<PortRange>,
pub protocol: Option<String>,
pub rule_action: Option<String>,
pub rule_number: Option<i64>,
}Expand description
Describes an entry in a network ACL.
Fields§
§cidr_block: Option<String>The IPv4 network range to allow or deny, in CIDR notation.
egress: Option<bool>Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).
icmp_type_code: Option<IcmpTypeCode>ICMP protocol: The ICMP type and code.
ipv_6_cidr_block: Option<String>The IPv6 network range to allow or deny, in CIDR notation.
port_range: Option<PortRange>TCP or UDP protocols: The range of ports the rule applies to.
protocol: Option<String>The protocol number. A value of "-1" means all protocols.
rule_action: Option<String>Indicates whether to allow or deny the traffic that matches the rule.
rule_number: Option<i64>The rule number for the entry. ACL entries are processed in ascending order by rule number.
Trait Implementations§
Source§impl Clone for NetworkAclEntry
impl Clone for NetworkAclEntry
Source§fn clone(&self) -> NetworkAclEntry
fn clone(&self) -> NetworkAclEntry
Returns a duplicate 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 NetworkAclEntry
impl Debug for NetworkAclEntry
Source§impl Default for NetworkAclEntry
impl Default for NetworkAclEntry
Source§fn default() -> NetworkAclEntry
fn default() -> NetworkAclEntry
Returns the “default value” for a type. Read more
Source§impl PartialEq for NetworkAclEntry
impl PartialEq for NetworkAclEntry
impl StructuralPartialEq for NetworkAclEntry
Auto Trait Implementations§
impl Freeze for NetworkAclEntry
impl RefUnwindSafe for NetworkAclEntry
impl Send for NetworkAclEntry
impl Sync for NetworkAclEntry
impl Unpin for NetworkAclEntry
impl UnwindSafe for NetworkAclEntry
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