Struct aws_sdk_ec2::output::AllocateAddressOutput
source · [−]#[non_exhaustive]pub struct AllocateAddressOutput {
pub public_ip: Option<String>,
pub allocation_id: Option<String>,
pub public_ipv4_pool: Option<String>,
pub network_border_group: Option<String>,
pub domain: Option<DomainType>,
pub customer_owned_ip: Option<String>,
pub customer_owned_ipv4_pool: Option<String>,
pub carrier_ip: Option<String>,
}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.public_ip: Option<String>The Elastic IP address.
allocation_id: Option<String>[EC2-VPC] The ID that Amazon Web Services assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
public_ipv4_pool: Option<String>The ID of an address pool.
network_border_group: Option<String>The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
domain: Option<DomainType>Indicates whether the Elastic IP address is for use with instances in a VPC (vpc) or instances in EC2-Classic (standard).
customer_owned_ip: Option<String>The customer-owned IP address.
customer_owned_ipv4_pool: Option<String>The ID of the customer-owned address pool.
carrier_ip: Option<String>The carrier IP address. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).
Implementations
sourceimpl AllocateAddressOutput
impl AllocateAddressOutput
sourcepub fn allocation_id(&self) -> Option<&str>
pub fn allocation_id(&self) -> Option<&str>
[EC2-VPC] The ID that Amazon Web Services assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
sourcepub fn public_ipv4_pool(&self) -> Option<&str>
pub fn public_ipv4_pool(&self) -> Option<&str>
The ID of an address pool.
sourcepub fn network_border_group(&self) -> Option<&str>
pub fn network_border_group(&self) -> Option<&str>
The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
sourcepub fn domain(&self) -> Option<&DomainType>
pub fn domain(&self) -> Option<&DomainType>
Indicates whether the Elastic IP address is for use with instances in a VPC (vpc) or instances in EC2-Classic (standard).
sourcepub fn customer_owned_ip(&self) -> Option<&str>
pub fn customer_owned_ip(&self) -> Option<&str>
The customer-owned IP address.
sourcepub fn customer_owned_ipv4_pool(&self) -> Option<&str>
pub fn customer_owned_ipv4_pool(&self) -> Option<&str>
The ID of the customer-owned address pool.
sourcepub fn carrier_ip(&self) -> Option<&str>
pub fn carrier_ip(&self) -> Option<&str>
The carrier IP address. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).
sourceimpl AllocateAddressOutput
impl AllocateAddressOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AllocateAddressOutput
Trait Implementations
sourceimpl Clone for AllocateAddressOutput
impl Clone for AllocateAddressOutput
sourcefn clone(&self) -> AllocateAddressOutput
fn clone(&self) -> AllocateAddressOutput
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 AllocateAddressOutput
impl Debug for AllocateAddressOutput
sourceimpl PartialEq<AllocateAddressOutput> for AllocateAddressOutput
impl PartialEq<AllocateAddressOutput> for AllocateAddressOutput
sourcefn eq(&self, other: &AllocateAddressOutput) -> bool
fn eq(&self, other: &AllocateAddressOutput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AllocateAddressOutput) -> bool
fn ne(&self, other: &AllocateAddressOutput) -> bool
This method tests for !=.
impl StructuralPartialEq for AllocateAddressOutput
Auto Trait Implementations
impl RefUnwindSafe for AllocateAddressOutput
impl Send for AllocateAddressOutput
impl Sync for AllocateAddressOutput
impl Unpin for AllocateAddressOutput
impl UnwindSafe for AllocateAddressOutput
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
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