#[non_exhaustive]pub struct ResetAddressAttributeInput {
pub allocation_id: Option<String>,
pub attribute: Option<AddressAttributeName>,
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>
[EC2-VPC] The allocation ID.
attribute: Option<AddressAttributeName>
The attribute of the IP address.
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 ResetAddressAttributeInput
impl ResetAddressAttributeInput
sourcepub fn allocation_id(&self) -> Option<&str>
pub fn allocation_id(&self) -> Option<&str>
[EC2-VPC] The allocation ID.
sourcepub fn attribute(&self) -> Option<&AddressAttributeName>
pub fn attribute(&self) -> Option<&AddressAttributeName>
The attribute of the IP address.
source§impl ResetAddressAttributeInput
impl ResetAddressAttributeInput
sourcepub fn builder() -> ResetAddressAttributeInputBuilder
pub fn builder() -> ResetAddressAttributeInputBuilder
Creates a new builder-style object to manufacture ResetAddressAttributeInput
.
Trait Implementations§
source§impl Clone for ResetAddressAttributeInput
impl Clone for ResetAddressAttributeInput
source§fn clone(&self) -> ResetAddressAttributeInput
fn clone(&self) -> ResetAddressAttributeInput
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 ResetAddressAttributeInput
impl Debug for ResetAddressAttributeInput
source§impl PartialEq<ResetAddressAttributeInput> for ResetAddressAttributeInput
impl PartialEq<ResetAddressAttributeInput> for ResetAddressAttributeInput
source§fn eq(&self, other: &ResetAddressAttributeInput) -> bool
fn eq(&self, other: &ResetAddressAttributeInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResetAddressAttributeInput
Auto Trait Implementations§
impl RefUnwindSafe for ResetAddressAttributeInput
impl Send for ResetAddressAttributeInput
impl Sync for ResetAddressAttributeInput
impl Unpin for ResetAddressAttributeInput
impl UnwindSafe for ResetAddressAttributeInput
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