[][src]Struct rusoto_gamelift::IpPermission

pub struct IpPermission {
    pub from_port: i64,
    pub ip_range: String,
    pub protocol: String,
    pub to_port: i64,
}

A range of IP addresses and port settings that allow inbound traffic to connect to server processes on Amazon GameLift. Each game session hosted on a fleet is assigned a unique combination of IP address and port number, which must fall into the fleet's allowed ranges. This combination is included in the GameSession object.

Fields

from_port: i64

Starting value for a range of allowed port numbers.

ip_range: String

Range of allowed IP addresses. This value must be expressed in CIDR notation. Example: "000.000.000.000/[subnet mask]" or optionally the shortened version "0.0.0.0/[subnet mask]".

protocol: String

Network communication protocol used by the fleet.

to_port: i64

Ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than FromPort.

Trait Implementations

impl Default for IpPermission[src]

impl Clone for IpPermission[src]

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

Performs copy-assignment from source. Read more

impl PartialEq<IpPermission> for IpPermission[src]

impl Debug for IpPermission[src]

impl<'de> Deserialize<'de> for IpPermission[src]

impl Serialize for IpPermission[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same<T> for T

type Output = T

Should always be Self