Struct aws_sdk_opensearch::types::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
A list of storage types for an Amazon OpenSearch Service domain that are available for a given intance 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.storage_type_name: Option<String>The name of the storage type.
storage_sub_type_name: Option<String>The storage sub-type, such as gp3 or io1.
storage_type_limits: Option<Vec<StorageTypeLimit>>Limits that are applicable for the given storage type.
Implementations§
source§impl StorageType
impl StorageType
sourcepub fn storage_type_name(&self) -> Option<&str>
pub fn storage_type_name(&self) -> Option<&str>
The name of the storage type.
sourcepub fn storage_sub_type_name(&self) -> Option<&str>
pub fn storage_sub_type_name(&self) -> Option<&str>
The storage sub-type, such as gp3 or io1.
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.
source§impl StorageType
impl StorageType
sourcepub fn builder() -> StorageTypeBuilder
pub fn builder() -> StorageTypeBuilder
Creates a new builder-style object to manufacture StorageType.
Trait Implementations§
source§impl Clone for StorageType
impl Clone for StorageType
source§fn clone(&self) -> StorageType
fn clone(&self) -> StorageType
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 StorageType
impl Debug for StorageType
source§impl PartialEq<StorageType> for StorageType
impl PartialEq<StorageType> for StorageType
source§fn 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 ==.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§
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