Struct rusoto_gamelift::IpPermission [−][src]
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 Default for IpPermission
fn default() -> IpPermission
[src]
fn default() -> IpPermission
Returns the "default value" for a type. Read more
impl Debug for IpPermission
[src]
impl Debug for IpPermission
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for IpPermission
[src]
impl Clone for IpPermission
fn clone(&self) -> IpPermission
[src]
fn clone(&self) -> IpPermission
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for IpPermission
[src]
impl PartialEq for IpPermission
fn eq(&self, other: &IpPermission) -> bool
[src]
fn eq(&self, other: &IpPermission) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &IpPermission) -> bool
[src]
fn ne(&self, other: &IpPermission) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for IpPermission
impl Send for IpPermission
impl Sync for IpPermission
impl Sync for IpPermission