Struct aws_sdk_robomaker::model::PortMapping
source · [−]#[non_exhaustive]pub struct PortMapping {
pub job_port: i32,
pub application_port: i32,
pub enable_on_public_ip: bool,
}
Expand description
An object representing a port mapping.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.job_port: i32
The port number on the simulation job instance to use as a remote connection point.
application_port: i32
The port number on the application.
enable_on_public_ip: bool
A Boolean indicating whether to enable this port mapping on public IP.
Implementations
sourceimpl PortMapping
impl PortMapping
sourcepub fn job_port(&self) -> i32
pub fn job_port(&self) -> i32
The port number on the simulation job instance to use as a remote connection point.
sourcepub fn application_port(&self) -> i32
pub fn application_port(&self) -> i32
The port number on the application.
sourcepub fn enable_on_public_ip(&self) -> bool
pub fn enable_on_public_ip(&self) -> bool
A Boolean indicating whether to enable this port mapping on public IP.
sourceimpl PortMapping
impl PortMapping
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PortMapping
Trait Implementations
sourceimpl Clone for PortMapping
impl Clone for PortMapping
sourcefn clone(&self) -> PortMapping
fn clone(&self) -> PortMapping
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PortMapping
impl Debug for PortMapping
sourceimpl PartialEq<PortMapping> for PortMapping
impl PartialEq<PortMapping> for PortMapping
sourcefn eq(&self, other: &PortMapping) -> bool
fn eq(&self, other: &PortMapping) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PortMapping) -> bool
fn ne(&self, other: &PortMapping) -> bool
This method tests for !=
.
impl StructuralPartialEq for PortMapping
Auto Trait Implementations
impl RefUnwindSafe for PortMapping
impl Send for PortMapping
impl Sync for PortMapping
impl Unpin for PortMapping
impl UnwindSafe for PortMapping
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more