Struct aws_sdk_ec2::model::NatGatewayAddress
source · [−]#[non_exhaustive]pub struct NatGatewayAddress { /* private fields */ }
Expand description
Describes the IP addresses and network interface associated with a NAT gateway.
Implementations
sourceimpl NatGatewayAddress
impl NatGatewayAddress
sourcepub fn allocation_id(&self) -> Option<&str>
pub fn allocation_id(&self) -> Option<&str>
[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.
sourcepub fn network_interface_id(&self) -> Option<&str>
pub fn network_interface_id(&self) -> Option<&str>
The ID of the network interface associated with the NAT gateway.
sourcepub fn private_ip(&self) -> Option<&str>
pub fn private_ip(&self) -> Option<&str>
The private IP address associated with the NAT gateway.
sourceimpl NatGatewayAddress
impl NatGatewayAddress
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NatGatewayAddress
.
Trait Implementations
sourceimpl Clone for NatGatewayAddress
impl Clone for NatGatewayAddress
sourcefn clone(&self) -> NatGatewayAddress
fn clone(&self) -> NatGatewayAddress
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 moresourceimpl Debug for NatGatewayAddress
impl Debug for NatGatewayAddress
sourceimpl PartialEq<NatGatewayAddress> for NatGatewayAddress
impl PartialEq<NatGatewayAddress> for NatGatewayAddress
sourcefn eq(&self, other: &NatGatewayAddress) -> bool
fn eq(&self, other: &NatGatewayAddress) -> bool
impl StructuralPartialEq for NatGatewayAddress
Auto Trait Implementations
impl RefUnwindSafe for NatGatewayAddress
impl Send for NatGatewayAddress
impl Sync for NatGatewayAddress
impl Unpin for NatGatewayAddress
impl UnwindSafe for NatGatewayAddress
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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