[][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.


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: "[subnet mask]" or optionally the shortened version "[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 PartialEq<IpPermission> for IpPermission[src]

impl Default for IpPermission[src]

impl Clone for IpPermission[src]

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Debug for IpPermission[src]

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

impl Serialize for IpPermission[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized

impl<T> BorrowMut for T where
    T: ?Sized

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

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

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self