#[non_exhaustive]pub struct EnableAddressTransferInput {
pub allocation_id: Option<String>,
pub transfer_account_id: Option<String>,
pub dry_run: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.allocation_id: Option<String>
The allocation ID of an Elastic IP address.
transfer_account_id: Option<String>
The ID of the account that you want to transfer the Elastic IP address to.
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
.
Implementations§
source§impl EnableAddressTransferInput
impl EnableAddressTransferInput
sourcepub fn allocation_id(&self) -> Option<&str>
pub fn allocation_id(&self) -> Option<&str>
The allocation ID of an Elastic IP address.
sourcepub fn transfer_account_id(&self) -> Option<&str>
pub fn transfer_account_id(&self) -> Option<&str>
The ID of the account that you want to transfer the Elastic IP address to.
source§impl EnableAddressTransferInput
impl EnableAddressTransferInput
sourcepub fn builder() -> EnableAddressTransferInputBuilder
pub fn builder() -> EnableAddressTransferInputBuilder
Creates a new builder-style object to manufacture EnableAddressTransferInput
.
Trait Implementations§
source§impl Clone for EnableAddressTransferInput
impl Clone for EnableAddressTransferInput
source§fn clone(&self) -> EnableAddressTransferInput
fn clone(&self) -> EnableAddressTransferInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EnableAddressTransferInput
impl Debug for EnableAddressTransferInput
source§impl PartialEq<EnableAddressTransferInput> for EnableAddressTransferInput
impl PartialEq<EnableAddressTransferInput> for EnableAddressTransferInput
source§fn eq(&self, other: &EnableAddressTransferInput) -> bool
fn eq(&self, other: &EnableAddressTransferInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EnableAddressTransferInput
Auto Trait Implementations§
impl RefUnwindSafe for EnableAddressTransferInput
impl Send for EnableAddressTransferInput
impl Sync for EnableAddressTransferInput
impl Unpin for EnableAddressTransferInput
impl UnwindSafe for EnableAddressTransferInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more