Struct aws_sdk_elasticsearch::model::StorageType
source · [−]#[non_exhaustive]pub struct StorageType {
pub storage_type_name: Option<String>,
pub storage_sub_type_name: Option<String>,
pub storage_type_limits: Option<Vec<StorageTypeLimit>>,
}
Expand description
StorageTypes represents the list of storage related types and their attributes that are available for given InstanceType.
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.storage_type_name: Option<String>
Type of the storage. List of available storage options:
- instance Inbuilt storage available for the given Instance
- ebs Elastic block storage that would be attached to the given Instance
storage_sub_type_name: Option<String>
SubType of the given storage type. List of available sub-storage options: For "instance" storageType we wont have any storageSubType, in case of "ebs" storageType we will have following valid storageSubTypes
- standard
- gp2
- io1
VolumeType
for more information regarding above EBS storage options.
storage_type_limits: Option<Vec<StorageTypeLimit>>
List of limits that are applicable for given storage type.
Implementations
sourceimpl StorageType
impl StorageType
sourcepub fn storage_type_name(&self) -> Option<&str>
pub fn storage_type_name(&self) -> Option<&str>
Type of the storage. List of available storage options:
- instance Inbuilt storage available for the given Instance
- ebs Elastic block storage that would be attached to the given Instance
sourcepub fn storage_sub_type_name(&self) -> Option<&str>
pub fn storage_sub_type_name(&self) -> Option<&str>
SubType of the given storage type. List of available sub-storage options: For "instance" storageType we wont have any storageSubType, in case of "ebs" storageType we will have following valid storageSubTypes
- standard
- gp2
- io1
VolumeType
for more information regarding above EBS storage options.
sourcepub fn storage_type_limits(&self) -> Option<&[StorageTypeLimit]>
pub fn storage_type_limits(&self) -> Option<&[StorageTypeLimit]>
List of limits that are applicable for given storage type.
sourceimpl StorageType
impl StorageType
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StorageType
Trait Implementations
sourceimpl Clone for StorageType
impl Clone for StorageType
sourcefn clone(&self) -> StorageType
fn clone(&self) -> StorageType
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 StorageType
impl Debug for StorageType
sourceimpl PartialEq<StorageType> for StorageType
impl PartialEq<StorageType> for StorageType
sourcefn eq(&self, other: &StorageType) -> bool
fn eq(&self, other: &StorageType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StorageType) -> bool
fn ne(&self, other: &StorageType) -> bool
This method tests for !=
.
impl StructuralPartialEq for StorageType
Auto Trait Implementations
impl RefUnwindSafe for StorageType
impl Send for StorageType
impl Sync for StorageType
impl Unpin for StorageType
impl UnwindSafe for StorageType
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