#[non_exhaustive]pub struct ModifyIdFormatInput {
pub resource: Option<String>,
pub use_long_ids: Option<bool>,
}
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.resource: Option<String>
The type of resource: bundle
| conversion-task
| customer-gateway
| dhcp-options
| elastic-ip-allocation
| elastic-ip-association
| export-task
| flow-log
| image
| import-task
| internet-gateway
| network-acl
| network-acl-association
| network-interface
| network-interface-attachment
| prefix-list
| route-table
| route-table-association
| security-group
| subnet
| subnet-cidr-block-association
| vpc
| vpc-cidr-block-association
| vpc-endpoint
| vpc-peering-connection
| vpn-connection
| vpn-gateway
.
Alternatively, use the all-current
option to include all resource types that are currently within their opt-in period for longer IDs.
use_long_ids: Option<bool>
Indicate whether the resource should use longer IDs (17-character IDs).
Implementations§
source§impl ModifyIdFormatInput
impl ModifyIdFormatInput
sourcepub fn resource(&self) -> Option<&str>
pub fn resource(&self) -> Option<&str>
The type of resource: bundle
| conversion-task
| customer-gateway
| dhcp-options
| elastic-ip-allocation
| elastic-ip-association
| export-task
| flow-log
| image
| import-task
| internet-gateway
| network-acl
| network-acl-association
| network-interface
| network-interface-attachment
| prefix-list
| route-table
| route-table-association
| security-group
| subnet
| subnet-cidr-block-association
| vpc
| vpc-cidr-block-association
| vpc-endpoint
| vpc-peering-connection
| vpn-connection
| vpn-gateway
.
Alternatively, use the all-current
option to include all resource types that are currently within their opt-in period for longer IDs.
sourcepub fn use_long_ids(&self) -> Option<bool>
pub fn use_long_ids(&self) -> Option<bool>
Indicate whether the resource should use longer IDs (17-character IDs).
source§impl ModifyIdFormatInput
impl ModifyIdFormatInput
sourcepub fn builder() -> ModifyIdFormatInputBuilder
pub fn builder() -> ModifyIdFormatInputBuilder
Creates a new builder-style object to manufacture ModifyIdFormatInput
.
Trait Implementations§
source§impl Clone for ModifyIdFormatInput
impl Clone for ModifyIdFormatInput
source§fn clone(&self) -> ModifyIdFormatInput
fn clone(&self) -> ModifyIdFormatInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModifyIdFormatInput
impl Debug for ModifyIdFormatInput
source§impl PartialEq for ModifyIdFormatInput
impl PartialEq for ModifyIdFormatInput
source§fn eq(&self, other: &ModifyIdFormatInput) -> bool
fn eq(&self, other: &ModifyIdFormatInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModifyIdFormatInput
Auto Trait Implementations§
impl Freeze for ModifyIdFormatInput
impl RefUnwindSafe for ModifyIdFormatInput
impl Send for ModifyIdFormatInput
impl Sync for ModifyIdFormatInput
impl Unpin for ModifyIdFormatInput
impl UnwindSafe for ModifyIdFormatInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more