Struct aws_sdk_ec2::types::IdFormat
source · #[non_exhaustive]pub struct IdFormat {
pub deadline: Option<DateTime>,
pub resource: Option<String>,
pub use_long_ids: Option<bool>,
}
Expand description
Describes the ID format for a resource.
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.deadline: Option<DateTime>
The date in UTC at which you are permanently switched over to using longer IDs. If a deadline is not yet available for this resource type, this field is not returned.
resource: Option<String>
The type of resource.
use_long_ids: Option<bool>
Indicates whether longer IDs (17-character IDs) are enabled for the resource.
Implementations§
source§impl IdFormat
impl IdFormat
sourcepub fn deadline(&self) -> Option<&DateTime>
pub fn deadline(&self) -> Option<&DateTime>
The date in UTC at which you are permanently switched over to using longer IDs. If a deadline is not yet available for this resource type, this field is not returned.
sourcepub fn use_long_ids(&self) -> Option<bool>
pub fn use_long_ids(&self) -> Option<bool>
Indicates whether longer IDs (17-character IDs) are enabled for the resource.
Trait Implementations§
source§impl PartialEq<IdFormat> for IdFormat
impl PartialEq<IdFormat> for IdFormat
impl StructuralPartialEq for IdFormat
Auto Trait Implementations§
impl RefUnwindSafe for IdFormat
impl Send for IdFormat
impl Sync for IdFormat
impl Unpin for IdFormat
impl UnwindSafe for IdFormat
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