logo
pub struct Address {
Show 14 fields pub allocation_id: Option<String>, pub association_id: Option<String>, pub carrier_ip: Option<String>, pub customer_owned_ip: Option<String>, pub customer_owned_ipv_4_pool: Option<String>, pub domain: Option<String>, pub instance_id: Option<String>, pub network_border_group: Option<String>, pub network_interface_id: Option<String>, pub network_interface_owner_id: Option<String>, pub private_ip_address: Option<String>, pub public_ip: Option<String>, pub public_ipv_4_pool: Option<String>, pub tags: Option<Vec<Tag>>,
}
Expand description

Describes an Elastic IP address, or a carrier IP address.

Fields

allocation_id: Option<String>

The ID representing the allocation of the address for use with EC2-VPC.

association_id: Option<String>

The ID representing the association of the address with an instance in a VPC.

carrier_ip: Option<String>

The carrier IP address associated. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).

customer_owned_ip: Option<String>

The customer-owned IP address.

customer_owned_ipv_4_pool: Option<String>

The ID of the customer-owned address pool.

domain: Option<String>

Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).

instance_id: Option<String>

The ID of the instance that the address is associated with (if any).

network_border_group: Option<String>

The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.

network_interface_id: Option<String>

The ID of the network interface.

network_interface_owner_id: Option<String>

The ID of the account that owns the network interface.

private_ip_address: Option<String>

The private IP address associated with the Elastic IP address.

public_ip: Option<String>

The Elastic IP address.

public_ipv_4_pool: Option<String>

The ID of an address pool.

tags: Option<Vec<Tag>>

Any tags assigned to the Elastic IP address.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more