Struct aws_sdk_ec2::types::InstanceStorageInfo
source · #[non_exhaustive]pub struct InstanceStorageInfo {
pub total_size_in_gb: Option<i64>,
pub disks: Option<Vec<DiskInfo>>,
pub nvme_support: Option<EphemeralNvmeSupport>,
pub encryption_support: Option<InstanceStorageEncryptionSupport>,
}
Expand description
Describes the instance store features that are supported by the instance type.
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.total_size_in_gb: Option<i64>
The total size of the disks, in GB.
disks: Option<Vec<DiskInfo>>
Describes the disks that are available for the instance type.
nvme_support: Option<EphemeralNvmeSupport>
Indicates whether non-volatile memory express (NVMe) is supported.
encryption_support: Option<InstanceStorageEncryptionSupport>
Indicates whether data is encrypted at rest.
Implementations§
source§impl InstanceStorageInfo
impl InstanceStorageInfo
sourcepub fn total_size_in_gb(&self) -> Option<i64>
pub fn total_size_in_gb(&self) -> Option<i64>
The total size of the disks, in GB.
sourcepub fn disks(&self) -> Option<&[DiskInfo]>
pub fn disks(&self) -> Option<&[DiskInfo]>
Describes the disks that are available for the instance type.
sourcepub fn nvme_support(&self) -> Option<&EphemeralNvmeSupport>
pub fn nvme_support(&self) -> Option<&EphemeralNvmeSupport>
Indicates whether non-volatile memory express (NVMe) is supported.
sourcepub fn encryption_support(&self) -> Option<&InstanceStorageEncryptionSupport>
pub fn encryption_support(&self) -> Option<&InstanceStorageEncryptionSupport>
Indicates whether data is encrypted at rest.
source§impl InstanceStorageInfo
impl InstanceStorageInfo
sourcepub fn builder() -> InstanceStorageInfoBuilder
pub fn builder() -> InstanceStorageInfoBuilder
Creates a new builder-style object to manufacture InstanceStorageInfo
.
Trait Implementations§
source§impl Clone for InstanceStorageInfo
impl Clone for InstanceStorageInfo
source§fn clone(&self) -> InstanceStorageInfo
fn clone(&self) -> InstanceStorageInfo
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 InstanceStorageInfo
impl Debug for InstanceStorageInfo
source§impl PartialEq<InstanceStorageInfo> for InstanceStorageInfo
impl PartialEq<InstanceStorageInfo> for InstanceStorageInfo
source§fn eq(&self, other: &InstanceStorageInfo) -> bool
fn eq(&self, other: &InstanceStorageInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceStorageInfo
Auto Trait Implementations§
impl RefUnwindSafe for InstanceStorageInfo
impl Send for InstanceStorageInfo
impl Sync for InstanceStorageInfo
impl Unpin for InstanceStorageInfo
impl UnwindSafe for InstanceStorageInfo
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