Struct aws_sdk_gamelift::types::ConnectionPortRange
source · #[non_exhaustive]pub struct ConnectionPortRange {
pub from_port: Option<i32>,
pub to_port: Option<i32>,
}
Expand description
This operation has been expanded to use with the Amazon GameLift containers feature, which is currently in public preview.
The set of port numbers to open on each instance in a container fleet. Connection ports are used by inbound traffic to connect with processes that are running in containers on the fleet.
Part of: ContainerGroupsConfiguration
, ContainerGroupsAttributes
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.from_port: Option<i32>
Starting value for the port range.
to_port: Option<i32>
Ending value for the port. Port numbers are end-inclusive. This value must be equal to or greater than FromPort
.
Implementations§
source§impl ConnectionPortRange
impl ConnectionPortRange
sourcepub fn builder() -> ConnectionPortRangeBuilder
pub fn builder() -> ConnectionPortRangeBuilder
Creates a new builder-style object to manufacture ConnectionPortRange
.
Trait Implementations§
source§impl Clone for ConnectionPortRange
impl Clone for ConnectionPortRange
source§fn clone(&self) -> ConnectionPortRange
fn clone(&self) -> ConnectionPortRange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConnectionPortRange
impl Debug for ConnectionPortRange
source§impl PartialEq for ConnectionPortRange
impl PartialEq for ConnectionPortRange
source§fn eq(&self, other: &ConnectionPortRange) -> bool
fn eq(&self, other: &ConnectionPortRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectionPortRange
Auto Trait Implementations§
impl Freeze for ConnectionPortRange
impl RefUnwindSafe for ConnectionPortRange
impl Send for ConnectionPortRange
impl Sync for ConnectionPortRange
impl Unpin for ConnectionPortRange
impl UnwindSafe for ConnectionPortRange
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.