Struct aws_sdk_opensearch::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 a 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 storage. List of available storage options:
- instance Built-in storage available for the instance
- ebs Elastic block storage attached to the instance
storage_sub_type_name: Option<String>
Sub-type of the given storage type. List of available sub-storage options: "instance" storageType has no storageSubType. "ebs" storageType has the following valid storageSubTypes:
- standard
- gp2
- io1
VolumeType
for more information regarding each EBS storage option.
storage_type_limits: Option<Vec<StorageTypeLimit>>
Limits that are applicable for the 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 storage. List of available storage options:
- instance Built-in storage available for the instance
- ebs Elastic block storage attached to the instance
sourcepub fn storage_sub_type_name(&self) -> Option<&str>
pub fn storage_sub_type_name(&self) -> Option<&str>
Sub-type of the given storage type. List of available sub-storage options: "instance" storageType has no storageSubType. "ebs" storageType has the following valid storageSubTypes:
- standard
- gp2
- io1
VolumeType
for more information regarding each EBS storage option.
sourcepub fn storage_type_limits(&self) -> Option<&[StorageTypeLimit]>
pub fn storage_type_limits(&self) -> Option<&[StorageTypeLimit]>
Limits that are applicable for the 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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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