[][src]Struct rusoto_ec2::NetworkAclEntry

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>,
}

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

impl PartialEq<NetworkAclEntry> for NetworkAclEntry[src]

impl Default for NetworkAclEntry[src]

impl Clone for NetworkAclEntry[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for NetworkAclEntry[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self