Struct aws_sdk_ec2::model::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
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
sourceimpl 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.
sourceimpl InstanceStorageInfo
impl InstanceStorageInfo
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InstanceStorageInfo
.
Trait Implementations
sourceimpl Clone for InstanceStorageInfo
impl Clone for InstanceStorageInfo
sourcefn clone(&self) -> InstanceStorageInfo
fn clone(&self) -> InstanceStorageInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InstanceStorageInfo
impl Debug for InstanceStorageInfo
sourceimpl PartialEq<InstanceStorageInfo> for InstanceStorageInfo
impl PartialEq<InstanceStorageInfo> for InstanceStorageInfo
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &InstanceStorageInfo) -> bool
fn ne(&self, other: &InstanceStorageInfo) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more