Struct rusoto_ec2::PortRange[][src]

pub struct PortRange {
    pub from: Option<i64>,
    pub to: Option<i64>,
}

Describes a range of ports.

Fields

The first port in the range.

The last port in the range.

Trait Implementations

impl Default for PortRange
[src]

Returns the "default value" for a type. Read more

impl Debug for PortRange
[src]

Formats the value using the given formatter. Read more

impl Clone for PortRange
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for PortRange
[src]

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 Send for PortRange

impl Sync for PortRange