Struct aws_sdk_opensearch::types::Limits
source · #[non_exhaustive]pub struct Limits {
pub storage_types: Option<Vec<StorageType>>,
pub instance_limits: Option<InstanceLimits>,
pub additional_limits: Option<Vec<AdditionalLimit>>,
}Expand description
Limits for a given instance type and for each of its roles.
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_types: Option<Vec<StorageType>>Storage-related attributes that are available for a given instance type.
instance_limits: Option<InstanceLimits>The limits for a given instance type.
additional_limits: Option<Vec<AdditionalLimit>>List of additional limits that are specific to a given instance type for each of its instance roles.
Implementations§
source§impl Limits
impl Limits
sourcepub fn storage_types(&self) -> Option<&[StorageType]>
pub fn storage_types(&self) -> Option<&[StorageType]>
Storage-related attributes that are available for a given instance type.
sourcepub fn instance_limits(&self) -> Option<&InstanceLimits>
pub fn instance_limits(&self) -> Option<&InstanceLimits>
The limits for a given instance type.
sourcepub fn additional_limits(&self) -> Option<&[AdditionalLimit]>
pub fn additional_limits(&self) -> Option<&[AdditionalLimit]>
List of additional limits that are specific to a given instance type for each of its instance roles.
Trait Implementations§
source§impl PartialEq<Limits> for Limits
impl PartialEq<Limits> for Limits
impl StructuralPartialEq for Limits
Auto Trait Implementations§
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnwindSafe for Limits
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