Struct rusoto_ec2::AllocateAddressRequest [−][src]
pub struct AllocateAddressRequest { pub address: Option<String>, pub domain: Option<String>, pub dry_run: Option<bool>, }
Contains the parameters for AllocateAddress.
Fields
address: Option<String>
[EC2-VPC] The Elastic IP address to recover.
domain: Option<String>
Set to vpc
to allocate the address for use with instances in a VPC.
Default: The address is for use with instances in EC2-Classic.
dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Trait Implementations
impl Default for AllocateAddressRequest
[src]
impl Default for AllocateAddressRequest
fn default() -> AllocateAddressRequest
[src]
fn default() -> AllocateAddressRequest
Returns the "default value" for a type. Read more
impl Debug for AllocateAddressRequest
[src]
impl Debug for AllocateAddressRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for AllocateAddressRequest
[src]
impl Clone for AllocateAddressRequest
fn clone(&self) -> AllocateAddressRequest
[src]
fn clone(&self) -> AllocateAddressRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for AllocateAddressRequest
[src]
impl PartialEq for AllocateAddressRequest
fn eq(&self, other: &AllocateAddressRequest) -> bool
[src]
fn eq(&self, other: &AllocateAddressRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AllocateAddressRequest) -> bool
[src]
fn ne(&self, other: &AllocateAddressRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for AllocateAddressRequest
impl Send for AllocateAddressRequest
impl Sync for AllocateAddressRequest
impl Sync for AllocateAddressRequest