Struct rusoto_ec2::NetworkAclEntry[][src]

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.